Skip to content

Commit 405c181

Browse files
test: Test full-tests.yml
1 parent c436a79 commit 405c181

1 file changed

Lines changed: 30 additions & 1 deletion

File tree

.github/workflows/full-tests.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ name: Master Branch CI - Full Tests
55
on:
66
pull_request:
77
branches: [ master ]
8+
push:
9+
branches: [ test-mactest ]
810

911
jobs:
1012
linux-tests:
@@ -75,4 +77,31 @@ jobs:
7577
7678
- name: Run tests
7779
run: |
78-
cd build && ctest --verbose -C ${{ matrix.build_type }} --output-on-failure
80+
cd build && ctest --verbose -C ${{ matrix.build_type }} --output-on-failure
81+
82+
macos-tests:
83+
runs-on: macos-latest
84+
strategy:
85+
matrix:
86+
build_type: [ Debug, Release ]
87+
88+
steps:
89+
- name: Checkout
90+
uses: actions/checkout@v4
91+
92+
- name: Install dependencies
93+
run: |
94+
brew update
95+
brew install cmake ninja
96+
97+
- name: Configure and Build
98+
run: |
99+
export CC=clang
100+
export CXX=clang++
101+
102+
cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -G Ninja
103+
cmake --build build --config ${{ matrix.build_type }}
104+
105+
- name: Run tests
106+
run: |
107+
cd build && ctest --verbose --output-on-failure

0 commit comments

Comments
 (0)