github: Generalize the linux-cross-windows job for other CRTs
This commit is contained in:
1 parent
5cc5132bff
commit
41c45dafd8
1 file changed
+8
-8
@@ -246,15 +246,15 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
arch:
|
include:
|
||||||
- i686
|
- { arch: i686, crt: ucrt }
|
||||||
- x86_64
|
- { arch: x86_64, crt: ucrt }
|
||||||
- armv7
|
- { arch: armv7, crt: ucrt }
|
||||||
- aarch64
|
- { arch: aarch64, crt: ucrt }
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux-ucrt-x86_64-toolchain
|
name: linux-${{matrix.crt}}-x86_64-toolchain
|
||||||
- name: Unpack cross toolchain
|
- name: Unpack cross toolchain
|
||||||
run: |
|
run: |
|
||||||
tar -Jxf llvm-mingw-*.tar.xz
|
tar -Jxf llvm-mingw-*.tar.xz
|
||||||
@@ -273,12 +273,12 @@ jobs:
|
|||||||
./build-cross-tools.sh /opt/llvm-mingw $(pwd)/install/llvm-mingw ${{matrix.arch}} --with-python
|
./build-cross-tools.sh /opt/llvm-mingw $(pwd)/install/llvm-mingw ${{matrix.arch}} --with-python
|
||||||
.github/workflows/store-version.sh install/llvm-mingw/versions.txt
|
.github/workflows/store-version.sh install/llvm-mingw/versions.txt
|
||||||
cd install
|
cd install
|
||||||
NAME=llvm-mingw-$TAG-ucrt-${{matrix.arch}}
|
NAME=llvm-mingw-$TAG-${{matrix.crt}}-${{matrix.arch}}
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
zip -9rq ../$NAME.zip $NAME
|
zip -9rq ../$NAME.zip $NAME
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: windows-ucrt-${{matrix.arch}}-toolchain
|
name: windows-${{matrix.crt}}-${{matrix.arch}}-toolchain
|
||||||
path: |
|
path: |
|
||||||
llvm-mingw-*.zip
|
llvm-mingw-*.zip
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
|
|||||||
Reference in new issue
Block a user