Install updated Clang using llvm install script #3
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: Linux GCC C++11 | |
on: | |
push: | |
branches: [ "v3" ] | |
jobs: | |
build_matrix: | |
strategy: | |
matrix: | |
gcc: [ 9, 10, 11, 12, 13 ] | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: .xmake-cache | |
key: xmake-cache-${{ runner.os }} | |
- uses: xmake-io/github-action-setup-xmake@v1 | |
with: | |
xmake-version: latest | |
actions-cache-folder: .xmake-cache | |
- name: Build | |
run: GCC_VERSION=${{ matrix.gcc }} xmake build -w -v "Tests cxx11" | |
- name: Test | |
run: GCC_VERSION=${{ matrix.gcc }} xmake run "Tests cxx11" |