-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (20 loc) · 868 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: c
os: linux
dist: bionic
jobs:
include:
- env: MAKE_ENV="ARCH=i386"
before_install:
- sudo apt-get -y install gcc-multilib
- env: MAKE_ENV="ARCH=riscv RUN_WITH=qemu-riscv64-static"
before_install:
- sudo ./.travis/configure-apt.sh # Hack because of lack of support for RISC-V in qemu@bionic
- sudo apt-get -y install gcc-riscv64-linux-gnu libc6-dev-riscv64-cross u-boot-tools
- sudo apt-get -y -t eoan install qemu-user-static
script:
- make $MAKE_ENV
- MUTE_PATTERNS= make clean test $MAKE_ENV
- MUTE_PATTERNS= make clean test $MAKE_ENV TEST_OPT_FLAGS=-DOPTIMIZED_FIRST_SNIPPET=0
- MUTE_PATTERNS= make clean test $MAKE_ENV TEST_OPT_FLAGS=-DOPTIMIZED_SECOND_SNIPPET=0
- MUTE_PATTERNS= make clean test $MAKE_ENV TEST_OPT_FLAGS=-DOPTIMIZED_THIRD_SNIPPET=0
- MUTE_PATTERNS= make clean test $MAKE_ENV TEST_OPT_FLAGS=-DOPTIMIZED=0