4
4
5
5
defaults :
6
6
run :
7
- shell : bash
7
+ shell : bash
8
8
9
9
on :
10
10
push :
26
26
exclude :
27
27
- BUILD_BITS : 32
28
28
INTERFACE64 : 1
29
-
29
+ fail-fast : false
30
30
runs-on : ${{ matrix.os }}
31
31
32
32
steps :
@@ -39,27 +39,28 @@ jobs:
39
39
echo "BUILD_BITS=$BITS" >> $GITHUB_ENV;
40
40
if [ "$BITS" == "32" ]; then
41
41
echo "PLAT=i686" >> $GITHUB_ENV;
42
-
43
42
else
44
43
echo "PLAT=x86_64" >> $GITHUB_ENV;
45
44
fi
46
45
echo "START_DIR=$PWD" >> $GITHUB_ENV;
47
46
choco install -y zip
48
47
49
48
- run : |
50
- # use an older package since the x86 package overrides the x64 one,
51
- # and ends up deleting make.exe
52
- choco install -y mingw --forcex86 --force --version=7.3.0
49
+ choco install -y mingw --forcex86 --force --version=8.1.0
50
+ choco install -y make
53
51
name: Install 32-bit mingw
54
52
shell: powershell
55
53
if: ${{ matrix.BUILD_BITS == '32' }}
56
54
57
55
- run : |
58
56
# see https://www.mail-archive.com/[email protected] /msg586184.html
59
- include=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/avx512fintrin.h
57
+ if [ "${{ matrix.BUILD_BITS }}" == "64" ]; then
58
+ include=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/avx512fintrin.h
59
+ else
60
+ include=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/avx512fintrin.h
61
+ fi
60
62
sed -i -e"s/_mm512_abs_pd (__m512 __A)/_mm512_abs_pd (__m512d __A)/" $include
61
63
name: Fix gcc bug
62
- if: ${{ matrix.BUILD_BITS == '64' }}
63
64
64
65
- name : Build
65
66
run : |
@@ -89,11 +90,10 @@ jobs:
89
90
./test.exe
90
91
cp $(cygpath $OPENBLAS_ROOT)/$BITS/bin/*.dll .
91
92
./test_dyn.exe
92
-
93
+
93
94
- name : Upload
94
95
env :
95
96
OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN : ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }}
96
97
run : |
97
98
pip install -q git+https://github.com/Anaconda-Platform/[email protected]
98
99
tools/upload_to_anaconda_staging.sh
99
-
0 commit comments