Skip to content

Commit 386bea7

Browse files
committed
Added MacOS CI runs
1 parent 43fca96 commit 386bea7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,26 @@ jobs:
188188
- name: Run unit tests
189189
shell: msys2 {0}
190190
run: .build/target/${{env.ARTIFACT}}/${{env.ARTIFACT}}-test.exe utest --verbose --jobs 1
191+
192+
macos_stable:
193+
runs-on: macos-latest
194+
steps:
195+
- name: Update repositories
196+
run: brew update
197+
- name: Install dependencies
198+
run: brew install make pkgconf cairo freetype
199+
- uses: actions/checkout@v3
200+
- name: Configure project
201+
run: gmake config TEST=1 STRICT=1 DEBUG=1 ASAN=1
202+
- name: Fetch project dependencies
203+
run: gmake fetch
204+
- name: Build project
205+
run: gmake VERBOSE=1
206+
- name: Run unit tests
207+
run: .build/target/${{env.ARTIFACT}}/${{env.ARTIFACT}}-test utest --verbose --jobs 1
208+
- name: Run unit tests with memcheck
209+
run: |
210+
for test in $(.build/target/${{env.ARTIFACT}}/${{env.ARTIFACT}}-test utest --list --suppress); do \
211+
echo "***** MEMCHECK $test *****"; \
212+
.build/target/${{env.ARTIFACT}}/${{env.ARTIFACT}}-test utest --verbose --jobs 1 --nofork --debug $test; \
213+
done

0 commit comments

Comments
 (0)