Fix workflows/tests #301
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: CI | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- 'LICENSE' | |
- 'read.me' | |
- 'README.md' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'LICENSE' | |
- 'read.me' | |
- 'README.md' | |
env: | |
TEST_REF_FORBID_GEN_REFS: true | |
jobs: | |
tests-ubuntu2004-gpp: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
compiler: [g++] | |
version: [9, 10] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} | |
tests-ubuntu2004-clang: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
compiler: [clang++] | |
version: [10, 11, 12] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} | |
tests-ubuntu2204-gpp: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
compiler: [g++] | |
version: [9, 10, 11, 12] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} | |
tests-ubuntu2204-clang: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
compiler: [clang++] | |
version: [13, 14] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} | |
tests-ubuntu2004-gpp-32: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
compiler: [g++] | |
version: [9, 10] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
sudo apt-get update | |
sudo apt-get install gcc-${{ matrix.version }}-multilib g++-${{ matrix.version }}-multilib | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32 | |
tests-ubuntu2004-clang-32: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
compiler: [clang++] | |
version: [10, 11, 12] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
sudo apt-get update | |
sudo apt-get install gcc-multilib g++-multilib | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32 | |
tests-ubuntu2204-gpp-32: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
compiler: [g++] | |
version: [9, 10, 11] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
sudo apt-get update | |
sudo apt-get install gcc-${{ matrix.version }}-multilib g++-${{ matrix.version }}-multilib | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32 | |
tests-ubuntu2204-clang-32: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
compiler: [clang++] | |
version: [13, 14] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
sudo apt-get update | |
sudo apt-get install gcc-multilib g++-multilib | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32 | |
tests-macos11-gpp: | |
strategy: | |
matrix: | |
os: [macos-11] | |
compiler: [g++] | |
version: [10, 11, 12] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} | |
tests-macos11-clang: | |
strategy: | |
matrix: | |
os: [macos-11] | |
compiler: [clang++] | |
name: Use ${{ matrix.compiler }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} | |
tests-macos12-gpp: | |
strategy: | |
matrix: | |
os: [macos-12] | |
compiler: [g++] | |
version: [12, 13, 14] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} | |
tests-macos12-clang: | |
strategy: | |
matrix: | |
os: [macos-12] | |
compiler: [clang++] | |
name: Use ${{ matrix.compiler }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} | |
tests-macos13-gpp: | |
strategy: | |
matrix: | |
os: [macos-13] | |
compiler: [g++] | |
version: [12, 13, 14] | |
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} | |
tests-macos13-clang: | |
strategy: | |
matrix: | |
os: [macos-13] | |
compiler: [clang++] | |
name: Use ${{ matrix.compiler }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} | |
tests-windows-2019: | |
strategy: | |
matrix: | |
os: [windows-2019] | |
compiler: [msvc, g++, clang++] | |
name: Use ${{ matrix.compiler }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} | |
tests-windows-2022: | |
strategy: | |
matrix: | |
os: [windows-2022] | |
compiler: [msvc, g++, clang++] | |
name: Use ${{ matrix.compiler }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
cd tests | |
bash ./run.sh ${{ matrix.compiler }} |