File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393 if : runner.os == 'Windows'
9494 uses : msys2/setup-msys2@v2
9595 with :
96- msystem : MINGW64
96+ msystem : ${{ endsWith(matrix.only, '32') && 'mingw32' || 'mingw64' }}
9797 update : true
9898 location : D:\
9999 install : >-
@@ -102,10 +102,9 @@ jobs:
102102 - name : Copy Windows ddl and mgc
103103 if : runner.os == 'Windows'
104104 run : |
105- ls /msys64
106- cp "/${{ endsWith(matrix.only, '32') && 'mingw32' || 'mingw64' }}/share/misc/magic.mgc" "magic"
107- cp "/${{ endsWith(matrix.only, '32') && 'mingw32' || 'mingw64' }}/bin/libmagic-1.dll" "magic"
108- cp "/${{ endsWith(matrix.only, '32') && 'mingw32' || 'mingw64' }}/bin/libsystre-0.dll" "magic"
105+ cp "/msys64/${{ endsWith(matrix.only, '32') && 'mingw32' || 'mingw64' }}/share/misc/magic.mgc" "magic"
106+ cp "/msys64/${{ endsWith(matrix.only, '32') && 'mingw32' || 'mingw64' }}/bin/libmagic-1.dll" "magic"
107+ cp "/msys64/${{ endsWith(matrix.only, '32') && 'mingw32' || 'mingw64' }}/bin/libsystre-0.dll" "magic"
109108
110109 - uses : pypa/cibuildwheel@v2.17.0 # sync version with pip install cibuildwheel above
111110 timeout-minutes : 10
You can’t perform that action at this time.
0 commit comments