Newer
Older
image: recolic/cxx-toolkit
stages:
- build
- test
build:
stage: build
script:
- pacman -Sy && pacman -S --noconfirm bison flex gettext sdl2 lib32-glibc grep
- export AM_HOME=$(pwd)/nexus-am/
- cd nemu && make EXTRA_FLAGS='-DDISABLE_MMIO'
- show_log=1 ./runall.sh &> testcases.log ; echo $? > testres.log
artifacts:
paths:
- nemu/testres.log
- nemu/testcases.log
expire_in: 1 week
build-icc-pgo:
stage: build
script:
- pacman -Sy && pacman -S --noconfirm bison flex gettext sdl2 lib32-glibc grep
- export AM_HOME=$(pwd)/nexus-am/
- cd nemu && ./icc-build.sh
test:
stage: test
script:
- test 0 = $(<nemu/testres.log) || cat nemu/testcases.log
- test 0 = $(<nemu/testres.log)