forked from embox/embox
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (45 loc) · 1.34 KB
/
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
39
40
41
42
43
44
45
46
47
name: CI
on: [push]
jobs:
ci:
runs-on: ubuntu-20.04 # Embox NFS write test fails with ubuntu 18.04: "RPC: Can't decode result"
strategy:
fail-fast: false
matrix:
template:
- aarch64/qemu
- arm/qemu
- platform/stm32/f4/stm32f4-discovery
- x86/qemu
- x86/smp
- x86/user_apps
- project/qt4/x86_qemu_emboxvc
- x86/test/lang
- x86/test/net
- x86/test/fs
- x86/test/units
- x86/test/packetdrill
- x86/test/qt-vnc
- sparc/qemu
- mips/qemu
- ppc/qemu
- microblaze/qemu
- usermode86/debug
container:
image: embox/emdocker-test
options: --privileged -v /:/host
steps:
- uses: actions/checkout@v1
# x86/test/net fails on caching
# - uses: actions/cache@v2
# with:
# path: |
# mk/.cache
# key: mybuild-${{ hashFiles('**/Mybuild') }}-${{ hashFiles('**/*.my') }}
# - run: scripts/continuous/touch-mk-cache.sh
- run: chroot /host modprobe nfsd
if: matrix.template == 'x86/test/fs'
- run: ./scripts/continuous/prepare.sh ${{matrix.template}}
- run: make confload-${{matrix.template}}
- run: make -j $(nproc)
- run: ./scripts/continuous/run.sh ${{matrix.template}}