mirror of
https://github.com/red0124/ssp.git
synced 2025-12-15 22:29:55 +01:00
Compare commits
4 Commits
v1.7.0
...
48f3f7bbb0
| Author | SHA1 | Date | |
|---|---|---|---|
| 48f3f7bbb0 | |||
| fb259743cc | |||
| e129200b87 | |||
| c956d43c45 |
52
.github/workflows/macos-latest-clang.yml
vendored
Normal file
52
.github/workflows/macos-latest-clang.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user