Skip to content

Add simple automated tests #7 #3

Add simple automated tests #7

Add simple automated tests #7 #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
jobs:
linux_build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install packages
run: sudo apt-get update && sudo apt-get install -y llvm clang lld python3-pip qemu-system tshark
- name: Install pip packages
run: pip3 install --user -r tools/requirements.txt
- name: make doctor
run: make doctor
- name: Debug build
run: make build -j2
- name: Run tests (debug build, 1 CPU)
run: make test -j2
env:
TEST_DEFAULT_TIMEOUT: 10
FLAKE_RUNS: 4
CPUS: 1
- name: Run tests (debug build, 4 CPUs)
run: make test -j2
env:
TEST_DEFAULT_TIMEOUT: 10
FLAKE_RUNS: 4
CPUS: 4