@@ -20,16 +20,16 @@ jobs:
20
20
strategy :
21
21
fail-fast : false
22
22
matrix :
23
- os : [ubuntu-latest, macos-11 ]
23
+ os : [ubuntu-latest, macos-13 ]
24
24
PLAT : [i686, x86_64]
25
25
INTERFACE64 : ['0', '1']
26
26
MB_ML_VER : ['2014']
27
27
MB_ML_LIBC : ['manylinux']
28
28
include :
29
- - os : macos-11
29
+ - os : macos-13
30
30
PLAT : arm64
31
31
INTERFACE64 : ' 1'
32
- - os : macos-11
32
+ - os : macos-13
33
33
PLAT : arm64
34
34
INTERFACE64 : ' 0'
35
35
- os : ubuntu-latest
42
42
INTERFACE64 : ' 0'
43
43
MB_ML_LIBC : musllinux
44
44
MB_ML_VER : _1_1
45
+
46
+ - os : ubuntu-latest
47
+ PLAT : aarch64
48
+ INTERFACE64 : ' 0'
49
+ MB_ML_VER : ' 2014'
50
+ - os : ubuntu-latest
51
+ PLAT : aarch64
52
+ INTERFACE64 : ' 1'
53
+ MB_ML_VER : ' 2014'
54
+ - os : ubuntu-latest
55
+ PLAT : aarch64
56
+ INTERFACE64 : ' 0'
57
+ MB_ML_LIBC : musllinux
58
+ MB_ML_VER : _1_1
59
+ - os : ubuntu-latest
60
+ PLAT : aarch64
61
+ INTERFACE64 : ' 1'
62
+ MB_ML_LIBC : musllinux
63
+ MB_ML_VER : _1_1
64
+
45
65
exclude :
46
66
- PLAT : i686
47
- os : macos-11
67
+ os : macos-13
48
68
- PLAT : i686
49
69
INTERFACE64 : ' 1'
50
70
env :
78
98
# else
79
99
# fi
80
100
echo "DOCKER_TEST_IMAGE=$(echo multibuild/xenial_${{ matrix.PLAT}})" >> $GITHUB_ENV;
101
+
102
+ - uses : maxim-lobanov/setup-xcode@v1.6.0
103
+ if : ${{ matrix.os == 'macos-13' }}
104
+ with :
105
+ xcode-version : ' 14.3'
106
+
107
+ - name : Allow docker with qemu
108
+ if : ${{ matrix.PLAT == 'aarch64' }}
109
+ run : |
110
+ sudo apt-get update -q -y
111
+ sudo apt-get -qq install -y qemu qemu-user-static
112
+ sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes
113
+
81
114
- name : Print some Environment variable
82
115
run : |
83
116
echo "PLAT: ${PLAT}"
@@ -89,11 +122,6 @@ jobs:
89
122
- name : Build OpenBLAS
90
123
run : |
91
124
set -xeo pipefail
92
- if [[ "$PLAT" == "arm64" ]]; then
93
- sudo xcode-select -switch /Applications/Xcode_12.5.1.app
94
- export SDKROOT=/Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
95
- clang --version
96
- fi
97
125
source tools/build_steps.sh
98
126
echo "------ BEFORE BUILD ---------"
99
127
before_build
@@ -116,7 +144,7 @@ jobs:
116
144
version=$(cd OpenBLAS && git describe --tags --abbrev=8 | sed -e "s/^v\(.*\)-g.*/\1/" | sed -e "s/-/./g")
117
145
sed -e "s/^version = .*/version = \"${version}\"/" -i.bak pyproject.toml
118
146
fi
119
- if [ "macos-11 " == "${{ matrix.os }}" ]; then
147
+ if [ "macos-13 " == "${{ matrix.os }}" ]; then
120
148
source tools/build_wheel.sh
121
149
else
122
150
libc=${MB_ML_LIBC:-manylinux}
@@ -138,9 +166,12 @@ jobs:
138
166
name : openblas-${{ matrix.os }}-${{ matrix.PLAT }}-${{ matrix.INTERFACE64 }}-${{ matrix.MB_ML_LIBC }}
139
167
path : libs/openblas*.tar.gz
140
168
141
- - uses : conda-incubator/setup-miniconda@v3.0.1
169
+ - uses : conda-incubator/setup-miniconda@v3.0.4
142
170
with :
171
+ channels : conda-forge
172
+ channel-priority : true
143
173
activate-environment : upload
174
+ miniforge-version : latest
144
175
145
176
- name : Upload
146
177
# see https://github.com/marketplace/actions/setup-miniconda for why
0 commit comments