-
Notifications
You must be signed in to change notification settings - Fork 34
38 lines (32 loc) · 927 Bytes
/
ci.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
name: CI
# Set default shell as interactive (source ~/.bashrc)
defaults:
run:
shell: bash -ieo pipefail {0}
on:
push:
branches: [ master ]
# Don't forget to require approval for all outside collaborators
pull_request:
branches: '*'
# Allow manual workflow runs
workflow_dispatch:
# Run only one instance of this workflow at a time
# cancel-in-progress: stop running workflow and run latest instead
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
sim:
runs-on: self-hosted
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: setup
run: nix-shell --run "make clean && make setup"
- name: sim-test
run: nix-shell --run "make -C ../iob_timer_V*/ sim-test"
- name: sim-clean
run: nix-shell --run "make -C ../iob_timer_V*/ sim-clean"