@@ -18,16 +18,16 @@ jobs:
18
18
strategy :
19
19
fail-fast : false
20
20
matrix :
21
- os : [ubuntu-latest, macos-11 ]
21
+ os : [ubuntu-latest, macos-13 ]
22
22
PLAT : [i686, x86_64]
23
23
INTERFACE64 : ['0', '1']
24
24
MB_ML_VER : ['2014']
25
25
MB_ML_LIBC : ['manylinux']
26
26
include :
27
- - os : macos-11
27
+ - os : macos-13
28
28
PLAT : arm64
29
29
INTERFACE64 : ' 1'
30
- - os : macos-11
30
+ - os : macos-13
31
31
PLAT : arm64
32
32
INTERFACE64 : ' 0'
33
33
- os : ubuntu-latest
42
42
MB_ML_VER : _1_1
43
43
exclude :
44
44
- PLAT : i686
45
- os : macos-11
45
+ os : macos-13
46
46
- PLAT : i686
47
47
INTERFACE64 : ' 1'
48
48
env :
@@ -69,13 +69,13 @@ jobs:
69
69
python-version : 3.9
70
70
- name : Set extra env
71
71
run : |
72
- # if [ "macos-11" == "${{ matrix.os }}" ]; then
73
- # Use xcrun --sdk macosx --show-sdk-path instead of hardcoding the path
74
- # echo "LDFLAGS=-L/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib" >> $GITHUB_ENV;
75
- # echo "LIBRARY_PATH=-L/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib" >> $GITHUB_ENV;
76
- # else
77
- # fi
78
72
echo "DOCKER_TEST_IMAGE=$(echo multibuild/xenial_${{ matrix.PLAT}})" >> $GITHUB_ENV;
73
+
74
+ - uses : maxim-lobanov/setup-xcode@v1.6.0
75
+ if : ${{ matrix.os == 'macos-13' }}
76
+ with :
77
+ xcode-version : ' 14.3'
78
+
79
79
- name : Print some Environment variable
80
80
run : |
81
81
echo "PLAT: ${PLAT}"
87
87
- name : Build OpenBLAS
88
88
run : |
89
89
set -xeo pipefail
90
- if [[ "$PLAT" == "arm64" ]]; then
91
- sudo xcode-select -switch /Applications/Xcode_12.5.1.app
92
- export SDKROOT=/Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
93
- clang --version
94
- fi
95
90
source tools/build_steps.sh
96
91
echo "------ BEFORE BUILD ---------"
97
92
before_build
@@ -107,14 +102,20 @@ jobs:
107
102
build_lib "$PLAT" "$INTERFACE64" "0"
108
103
fi
109
104
105
+ # - name: Setup tmate session
106
+ # if: ${{ failure() }}
107
+ # uses: mxschmitt/action-tmate@v3
108
+ # with:
109
+ # limit-access-to-actor: true
110
+
110
111
- name : Build and test wheel
111
112
run : |
112
113
if [[ "$NIGHTLY" = "true" ]]; then
113
114
# Set the pyproject.toml version: convert v0.3.24-30-g138ed79f to 0.3.34.30
114
115
version=$(cd OpenBLAS && git describe --tags --abbrev=8 | sed -e "s/^v\(.*\)-g.*/\1/" | sed -e "s/-/./g")
115
116
sed -e "s/^version = .*/version = \"${version}\"/" -i.bak pyproject.toml
116
117
fi
117
- if [ "macos-11 " == "${{ matrix.os }}" ]; then
118
+ if [ "macos-13 " == "${{ matrix.os }}" ]; then
118
119
source tools/build_wheel.sh
119
120
else
120
121
libc=${MB_ML_LIBC:-manylinux}
@@ -136,9 +137,12 @@ jobs:
136
137
name : openblas-${{ matrix.os }}-${{ matrix.PLAT }}-${{ matrix.INTERFACE64 }}-${{ matrix.MB_ML_LIBC }}
137
138
path : libs/openblas*.tar.gz
138
139
139
- - uses : conda-incubator/setup-miniconda@v3.0.1
140
+ - uses : conda-incubator/setup-miniconda@v3.0.4
140
141
with :
142
+ channels : conda-forge
143
+ channel-priority : true
141
144
activate-environment : upload
145
+ miniforge-version : latest
142
146
143
147
- name : Upload
144
148
# see https://github.com/marketplace/actions/setup-miniconda for why
0 commit comments