-
Notifications
You must be signed in to change notification settings - Fork 12
47 lines (38 loc) · 1009 Bytes
/
main.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: CI
on:
pull_request:
branches: [ develop, main, release/** ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Prepare on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Update
if: startswith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
- name: Restore build caches
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}
- name: Install Metasystem
env:
TERM: linux
run: |
git submodule update --init --recursive
cd scripts
./install_metasystem.sh
- name: Run cxx tests
run: |
cd scripts
./build_ps.sh -t
./tests/run_cxx_ps_tests.sh
./run_cxx_ps.sh -t