-
Notifications
You must be signed in to change notification settings - Fork 17
46 lines (38 loc) · 1.35 KB
/
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
name: test
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout rowhammer-tester
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: ccache
uses: hendrikmuhs/ccache-action@v1
- name: Install dependencies
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
sudo apt-get update
sudo apt-get install git build-essential autoconf cmake ninja-build flex libfl-dev bison libftdi-dev help2man
sudo apt-get install libjson-c-dev libevent-dev libtinfo-dev uml-utilities python3 python3-venv python3-wheel
sudo apt-get install libftdi1-2 libftdi1-dev libhidapi-hidraw0 libhidapi-dev libudev-dev pkg-config tree zlib1g-dev zip unzip
make deps
- name: Check targets
run: |
make TARGET=arty
make TARGET=zcu104
make TARGET=lpddr4_test_board
make TARGET=ddr4_datacenter_test_board
make TARGET=arty ARGS="--sim"
- name: Run tests
run: make test