From 33539be4588f41ac32bf85bca25f0df6a5204171 Mon Sep 17 00:00:00 2001 From: David Chavez Date: Sat, 21 Jan 2023 04:23:35 +0100 Subject: [PATCH] [CI] Linux Performance Builds (#2323) * Add linux matrix for performance linux build * Update README --- .github/workflows/generate-builds.yml | 20 +++++++++++++++----- README.md | 5 ++++- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.github/workflows/generate-builds.yml b/.github/workflows/generate-builds.yml index b241fe890..8ae9a74b2 100644 --- a/.github/workflows/generate-builds.yml +++ b/.github/workflows/generate-builds.yml @@ -93,7 +93,17 @@ jobs: readme.txt build-linux: needs: extract-assets - runs-on: ubuntu-20.04 + strategy: + fail-fast: true + matrix: + include: + - os: ubuntu-20.04 + gcc: 10 + archive-suffix: compatibility + - os: ubuntu-22.04 + gcc: 12 + archive-suffix: performance + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 with: @@ -105,7 +115,7 @@ jobs: - name: ccache uses: hendrikmuhs/ccache-action@v1.2 with: - key: ${{ runner.os }}-ccache + key: ${{ matrix.os }}-ccache - name: Install latest SDL run: | export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" @@ -143,12 +153,12 @@ jobs: mv README.md readme.txt mv build-cmake/*.appimage soh.appimage env: - CC: gcc-10 - CXX: g++-10 + CC: gcc-${{ matrix.gcc }} + CXX: g++-${{ matrix.gcc }} - name: Upload build uses: actions/upload-artifact@v3 with: - name: soh-linux + name: soh-linux-${{ matrix.archive-suffix }} path: | soh.appimage readme.txt diff --git a/README.md b/README.md index 89e8b5c53..97c1dd614 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,10 @@ Assuming you have done everything correctly, boot up SoH and open up the SFX Edi Refer to the [building instructions](BUILDING.md) to compile SoH. ## Nightly Builds -Nightly builds of Ship of Harkinian are available here: [Windows](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-windows.zip), [macOS](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-mac.zip), [Linux](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-linux.zip), [Switch](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-switch.zip), [Wii U](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-wiiu.zip) +Nightly builds of Ship of Harkinian are available here: [Windows](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-windows.zip), [macOS](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-mac.zip), [Linux (compatibility*)](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-linux-compatiblity.zip), [Linux (performance*)](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-linux-performance.zip), [Switch](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-switch.zip), [Wii U](https://nightly.link/HarbourMasters/Shipwright/workflows/generate-builds/develop/soh-wiiu.zip) + +_*compatibility: compatible with most Linux distributions, but may not be as performant as the perf build._\ +_*performance: requires glibc 2.35 or newer, but will be more performant than the compat build._ ## Take The Survey Want to use cartridge readers in tandem with the OTRGui?