[CI] Linux Performance Builds (#2323)

* Add linux matrix for performance linux build

* Update README
This commit is contained in:
David Chavez
2023-01-21 04:23:35 +01:00
committed by GitHub
parent 6e417713b9
commit 33539be458
2 changed files with 19 additions and 6 deletions

View File

@@ -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