-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75ba235
commit 50f2293
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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/ccache-action@v1.2 | ||
with: | ||
key: ${{ github.job }} | ||
|
||
- name: Install Metasystem | ||
env: | ||
TERM: linux | ||
run: | | ||
git submodule update --init --recursive | ||
cd scripts | ||
./install_minimal_metasystem.sh | ||
- name: Run cxx tests | ||
run: | | ||
cd scripts | ||
./build_ps.sh -t | ||
./tests/run_cxx_ps_tests.sh | ||
./run_cxx_ps.sh -t |