From 3becea478fab0145f5b6dc9c84736f4a3d3bb65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 29 Aug 2022 22:50:56 +0300 Subject: [PATCH] github: Upload artifacts from the MSYS2 build too They aren't expected to be used much, but can be useful for inspecting the output of a build. --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef76528..a141405 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -222,6 +222,7 @@ jobs: git make diffutils + tar pacboy: >- toolchain:p cmake:p @@ -236,6 +237,16 @@ jobs: .github/workflows/store-version.sh install/llvm-mingw/versions.txt ./copy-msys-dependencies.sh $(pwd)/install/llvm-mingw ${{matrix.sys}} ./run-tests.sh $(pwd)/install/llvm-mingw + cd install + NAME=llvm-mingw-$TAG-ucrt-msys2-${{matrix.sys}} + mv llvm-mingw $NAME + tar -Jcf ../$NAME.tar.xz $NAME + - uses: actions/upload-artifact@v3 + with: + name: msys2-${{matrix.sys}}-toolchain + path: | + llvm-mingw-*.tar.xz + retention-days: 7 # Use the Linux cross compilers built in the first step to cross compile # llvm and make a proper standalone toolchain for Windows (for all 4