Skip to content

Merge pull request #213 from MikeMirzayanov/fix-workflows #318

Merge pull request #213 from MikeMirzayanov/fix-workflows

Merge pull request #213 from MikeMirzayanov/fix-workflows #318

Workflow file for this run

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-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-macos14-gpp:
strategy:
matrix:
os: [macos-14]
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-macos14-clang:
strategy:
matrix:
os: [macos-14]
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 }}