-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (36 loc) · 992 Bytes
/
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
name: "Run tests"
on:
push:
branches: [master]
paths-ignore:
- '**.md'
- 'distro_extractor/**'
- 'presets/dev/**'
- 'presets/ghost/**'
- 'presets/leti/**'
- 'presets/minimal/**'
pull_request:
branches: [master]
paths-ignore:
- '**.md'
- 'distro_extractor/**'
- 'presets/dev/**'
- 'presets/ghost/**'
- 'presets/leti/**'
- 'presets/minimal/**'
jobs:
make_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Install dependencies"
timeout-minutes: 1
run: |
sudo apt-get update && sudo apt-get install -y \
git make gcc rsync bison flex cpio bc libelf-dev gawk fdisk wget lbzip2 \
xz-utils dosfstools libssl-dev libncurses-dev qemu-system-x86
- name: "Run make test"
timeout-minutes: 7
run: |
echo 'export MAKE_NUM_OF_THREADS=$(($(nproc) + 1))' > config.sh
make test