Upload artifacts in MinGW CI

This commit is contained in:
sfan5 2023-12-13 00:04:58 +01:00
parent a292cc42aa
commit 704b5d88b9
2 changed files with 15 additions and 7 deletions

View File

@ -175,9 +175,13 @@ jobs:
- name: Build
run: |
EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin32.sh winbuild
env:
NO_PACKAGE: 1
EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin32.sh B
- uses: actions/upload-artifact@v3
with:
name: mingw32
path: B/build/*.zip
if-no-files-found: error
win64:
name: "MinGW cross-compiler (64-bit)"
@ -192,9 +196,13 @@ jobs:
- name: Build
run: |
EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin64.sh winbuild
env:
NO_PACKAGE: 1
EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin64.sh B
- uses: actions/upload-artifact@v3
with:
name: mingw64
path: B/build/*.zip
if-no-files-found: error
msvc:
name: VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }}

View File

@ -53,7 +53,7 @@ get_sources
git_hash=$(cd $sourcedir && git rev-parse --short HEAD)
# Build the thing
cd $sourcedir
cd $builddir
[ -d build ] && rm -rf build
cmake_args=(