Skip to content

Attempt at fixing gcc windows errors on github. #113

Attempt at fixing gcc windows errors on github.

Attempt at fixing gcc windows errors on github. #113

Workflow file for this run

name: clang mac
on:
push:
pull_request:
workflow_dispatch:
env:
TEST_DIR: ./tests
jobs:
all:
strategy:
fail-fast: false
matrix:
# Note: No clang version variation since the macOS runners to not have versioned executables (e.g. clang++-13).
cpp_version: [c++17, c++20]
buildmode: [~ , -O3 -DNDEBUG, -O3 -DNDEBUG -ffast-math]
runs-on: macos-12
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Build and run tests
working-directory: ${{env.TEST_DIR}}
env:
CXX: clang++
ADDITIONAL_FLAGS: ${{ format('-std={0} {1}', matrix.cpp_version, matrix.buildmode) }}
run: make generic