summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDavid Chavez <david@dcvz.io>2023-01-21 04:23:35 +0100
committerGitHub <noreply@github.com>2023-01-20 22:23:35 -0500
commit33539be4588f41ac32bf85bca25f0df6a5204171 (patch)
treef522e782392fc411a1ccbf1d6ece446c161ad5b1 /.github
parent6e417713b99985a450382358ca5321089e335dea (diff)
[CI] Linux Performance Builds (#2323)
* Add linux matrix for performance linux build * Update README
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/generate-builds.yml20
1 files changed, 15 insertions, 5 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