-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 958 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Tests
on:
push:
branches:
- main
pull_request: {}
schedule:
- cron: '0 23 * * SUN-THU'
workflow_dispatch:
jobs:
tests:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install llvm
run: |
brew install llvm
- name: Install googletest
run: |
brew install googletest
- name: Install cmake HEAD and ninja
run: |
brew unlink cmake
brew install cmake --HEAD --force
brew install ninja
- name: Cmake and Compile
run: |
cmake -B build -S . -DARGO_TESTS_ENABLE=true -GNinja
cmake --build build
env:
CC: /usr/local/opt/llvm/bin/clang
CXX: /usr/local/opt/llvm/bin/clang++
- name: Test Debug
run: |
./build/test-argo-debug
- name: Test Release
run: |
./build/test-argo-release