Extend payload executor tests with DDR5 tests #880
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
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@v2 | |
with: | |
persist-credentials: false | |
submodules: true | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.7' | |
- 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 |