4 Commits

Author SHA1 Message Date
ado
48f3f7bbb0 [skip ci] Try to fix macos-latest-clang.yml 2024-02-28 03:29:02 +01:00
ado
fb259743cc [skip ci] Try to fix macos-latest-clang.yml 2024-02-28 03:18:30 +01:00
ado
e129200b87 Try to fix macos-latest-clang.yml 2024-02-28 03:13:36 +01:00
ado
c956d43c45 [skip ci] Add macos-latest-clang.yml 2024-02-28 03:10:27 +01:00

View File

@@ -0,0 +1,52 @@
name: macos-latest-clang-ci
on:
workflow_dispatch:
push:
branches:
- master
- feature/**
- improvement/**
- bugfix/**
pull_request:
branches:
- master
- feature/**
- improvement/**
- bugfix/**
jobs:
clang_tests:
if: >-
! contains(toJSON(github.event.commits.*.message), '[skip ci]') &&
! contains(toJSON(github.event.commits.*.message), '[skip github]')
strategy:
matrix:
standard: [11, 14, 17, 20, 23]
type: [Release, Debug]
runs-on: macos-latest
name: "Xcode ${{matrix.standard}}: ${{matrix.type}}"
steps:
- uses: actions/checkout@v3
- uses: friendlyanon/fetch-core-count@v1
id: cores
- name: Install dependencies
run: script/ci_install_deps.sh
- name: Configure
run: cmake -S test -B build -DCMAKE_BUILD_TYPE=${{matrix.type}}
- name: Build
run: cmake --build build -j ${{steps.cores.outputs.count}}
- name: Run
working-directory: build
run: ctest --output-on-failure