coll progress #900
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build main | |
on: | |
push: | |
branches: | |
- "**" | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- uses: DeterminateSystems/nix-installer-action@main | |
- name: Create result directory | |
run: mkdir ${{ runner.temp }}/result | |
# -- Windows online-server | |
- name: Build Server Release Mingw32 GCC | |
run: nix build -L --keep-going '.?submodules=1#online-server.release.mingw32.gcc' -o ${{ runner.temp }}/result/online-server.release.mingw32.gcc | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: online-server-windows | |
path: | | |
${{ runner.temp }}/result/online-server.release.mingw32.gcc/ | |
# -- Linux online-server | |
- name: Build Server Release Linux GCC | |
run: nix build -L --no-link --keep-going '.?submodules=1#online-server.release.native.gcc' | |
- name: Build Server Release Aarch64 GCC | |
run: nix build -L --no-link --keep-going '.?submodules=1#online-server.release.aarch64.gcc' | |
# -- PC Port | |
- name: Build Decomp Debug Mingw32 GCC | |
run: nix build -L --no-link --keep-going '.?submodules=1#pc-decomp.debug.mingw32.gcc' 2>&1 | grep -A3 'error:' | |
- name: Build Decomp Debug Linux32 GCC | |
run: nix build -L --no-link --keep-going '.?submodules=1#pc-decomp.debug.native32.gcc' 2>&1 | grep -A3 'error:' |