From a68883e4d3a53f673799651c45c5cdfe11c5df84 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Thu, 7 Dec 2023 19:29:24 +0000 Subject: [PATCH] Upload artifacts for CI builds --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c21634f..18db8f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,10 @@ jobs: - uses: actions/checkout@v3 - name: Build run: make SYSTEM=X + - uses: actions/upload-artifact@v3 + with: + name: arcem-x11 + path: ./arcem build-msvc: name: Windows (MSVC ${{ matrix.msvc.platform }}) @@ -19,8 +23,8 @@ jobs: strategy: matrix: msvc: - - { platform: Win32 } - - { platform: x64 } + - { platform: Win32, artifact: vc/Release/ArcEm.exe } + - { platform: x64, artifact: vc/x64/Release/ArcEm.exe } steps: - name: Set up msbuild @@ -28,6 +32,10 @@ jobs: - uses: actions/checkout@v3 - name: Build run: msbuild vc/ArcEm.sln /m /p:BuildInParallel=true /p:Configuration=Release /p:Platform=${{ matrix.msvc.platform }} + - uses: actions/upload-artifact@v3 + with: + name: arcem-msvc-${{ matrix.msvc.platform }} + path: ${{ matrix.msvc.artifact }} build-mingw: name: Windows (${{ matrix.mingw.msystem }}) @@ -52,6 +60,10 @@ jobs: - uses: actions/checkout@v3 - name: Build run: make SYSTEM=win + - uses: actions/upload-artifact@v3 + with: + name: arcem-${{ matrix.mingw.msystem }} + path: ./ArcEm.exe build-watcom: name: Windows (OpenWatcom) @@ -65,6 +77,10 @@ jobs: - uses: actions/checkout@v3 - name: Build run: wmake -f Makefile.ow + - uses: actions/upload-artifact@v3 + with: + name: arcem-watcom + path: ./ArcEm.exe build-riscos: name: RISC OS @@ -75,6 +91,10 @@ jobs: - uses: actions/checkout@v3 - name: Build run: make SYSTEM=riscos-single CROSS=arm-unknown-riscos- + - uses: actions/upload-artifact@v3 + with: + name: arcem-riscos + path: ./ArcEm build-amiga: name: ${{ matrix.amiga.name }} @@ -91,3 +111,7 @@ jobs: - uses: actions/checkout@v3 - name: Build run: make SYSTEM=${{ matrix.amiga.system }} CROSS=${{ matrix.amiga.host }}- + - uses: actions/upload-artifact@v3 + with: + name: arcem-${{ matrix.amiga.host }} + path: ./arcem