Skip to content

2023: allow constructing a Grid using the dimensions of another #259

2023: allow constructing a Grid using the dimensions of another

2023: allow constructing a Grid using the dimensions of another #259

Workflow file for this run

name: Run unit tests
on: [push, pull_request]
jobs:
setup-matrix:
uses: ./.github/workflows/generate-matrix.yml
with:
mode: unit
docker-build:
uses: ./.github/workflows/docker-build.yml
permissions:
packages: write
with:
ubuntu-version: 22.04
llvm-version: 17
matrix-job:
runs-on: ubuntu-latest
needs: [setup-matrix, docker-build]
if: ${{ needs.setup-matrix.outputs.targets != '[]' }}
strategy:
fail-fast: false
matrix:
TARGET: ${{ fromJson(needs.setup-matrix.outputs.targets) }}
container: ${{ needs.docker-build.outputs.image }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Run unit tests (clang++)
id: clang
uses: ./.github/actions/unit-test-action
with:
compiler: clang++
- name: Run unit tests (g++)
id: gcc
# ignore failures in the previous step
if: success() || steps.clang.conclusion == 'failure'
uses: ./.github/actions/unit-test-action
with:
compiler: g++
- name: Run unit tests (clang++-17, libc++)
# ignore failures in the previous two steps
if: success() || steps.clang.conclusion == 'failure' || steps.gcc.conclusion == 'failure'
uses: ./.github/actions/unit-test-action
with:
compiler: clang++-17
stdlib: libc++