Update CircleCI to Ubuntu 18.04

This commit is contained in:
Lukas W
2018-04-28 11:00:08 +02:00
parent d42a685007
commit 4ff993e2a4
27 changed files with 219 additions and 180 deletions

View File

@@ -32,16 +32,17 @@ shared:
# Commmon environment variables
common_environment: &common_environment
QT5: True
CMAKE_OPTS: -DWANT_QT5=ON -DUSE_WERROR=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_CCACHE=ON
CMAKE_OPTS: -DUSE_WERROR=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_CCACHE=ON
CCACHE_MAXSIZE: 500M
CCACHE_LOGFILE: /tmp/artifacts/ccache.log
MAKEFLAGS: -j6
jobs:
mingw32:
environment:
<<: *common_environment
docker:
- image: lmmsci/linux.mingw32:14.04
- image: lmmsci/linux.mingw32:18.04
steps:
- checkout
- *init
@@ -50,15 +51,16 @@ jobs:
name: Building
command: |
mkdir build && cd build
../cmake/build_mingw32.sh
make -j6
../cmake/build_win32.sh
make lmms
make
- *ccache_stats
- *save_cache
mingw64:
environment:
<<: *common_environment
docker:
- image: lmmsci/linux.mingw64:14.04
- image: lmmsci/linux.mingw64:18.04
steps:
- checkout
- *init
@@ -67,13 +69,13 @@ jobs:
name: Building
command: |
mkdir build && cd build
../cmake/build_mingw64.sh
make -j6
../cmake/build_win64.sh
make
- *ccache_stats
- *save_cache
linux.gcc:
docker:
- image: lmmsci/linux.gcc:14.04
- image: lmmsci/linux.gcc:18.04
environment:
<<: *common_environment
steps:
@@ -85,7 +87,7 @@ jobs:
command: mkdir build && cd build && cmake .. $CMAKE_OPTS -DCMAKE_INSTALL_PREFIX=./install
- run:
name: Build
command: cd build && make -j6
command: cd build && make
- run:
name: Build tests
command: cd build && make tests
@@ -122,4 +124,4 @@ workflows:
- mingw32
- mingw64
- linux.gcc
- shellcheck
- shellcheck