Skip to content

Commit

Permalink
meson: g++-[789] build
Browse files Browse the repository at this point in the history
Test them as they are still supported.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb committed Feb 7, 2023
1 parent 8d3e0d6 commit 6f72bf7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/on_PR_meson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,28 @@ name: On PRs - meson
on: pull_request

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{github.workflow}}-${{github.head_ref}}
cancel-in-progress: true

jobs:
Ubuntu:
runs-on: ubuntu-latest
name: Linux-${{matrix.deps}}
runs-on: ubuntu-20.04
name: Linux-GCC${{matrix.cxx}}-${{matrix.deps}}
strategy:
matrix:
cxx: ['7', '8', '9']
deps: ['forcefallback', 'default']
steps:
- uses: actions/checkout@v3

- name: Install packages
run: |
sudo apt install -y g++-${{matrix.cxx}}
python3 -m pip install meson ninja
- name: Sanity Checks
run: |
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}}
env CXX=g++-${{matrix.cxx}} meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}}
meson compile -C "${{github.workspace}}/build"
VisualStudio:
Expand Down

0 comments on commit 6f72bf7

Please sign in to comment.