Skip to content

Commit

Permalink
Upload artifacts for CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ccawley2011 committed Dec 7, 2023
1 parent e026540 commit a68883e
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }})
Expand All @@ -19,15 +23,19 @@ 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
uses: microsoft/[email protected]
- 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 }})
Expand All @@ -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)
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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

0 comments on commit a68883e

Please sign in to comment.