gitlab-ci: try using an image with recent gcc _and_ python

This commit is contained in:
Danny Robson 2018-07-19 18:45:07 +10:00
parent 8f413f824c
commit 9f4fab6e3b

View File

@ -1,7 +1,7 @@
# Based on the GitLab example CI configuration # Based on the GitLab example CI configuration
# use the official gcc image, based on debian # use an image which probably has an up-to-date gcc _and_ >=python3.6
image: gcc image: base/archlinux
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
@ -9,8 +9,8 @@ variables:
build: build:
stage: build stage: build
before_script: before_script:
- apt update - pacman --noconfirm -Sy
- apt -y install cmake ninja-build python3 ragel - pacman --noconfirm -S python3 gcc ninja cmake ragel git
script: script:
- mkdir build && cd build - mkdir build && cd build
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DLTO=ON -DTESTS=ON - cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DLTO=ON -DTESTS=ON
@ -24,8 +24,8 @@ build:
test: test:
stage: test stage: test
before_script: before_script:
- apt update - pacman --noconfirm -Sy
- apt -y install cmake python3 - pacman --noconfirm -S cmake ragel
script: script:
- cd build - cd build
- ctest -vvv - ctest -vvv