🔧 explicitly switch on tests in CI

This commit is contained in:
Niels Lohmann 2020-05-27 13:22:14 +02:00
parent ed5c28d00c
commit 325e8ab8ab
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
8 changed files with 9 additions and 18 deletions

View file

@ -10,12 +10,9 @@ jobs:
- run:
name: Install required tools
command: 'apt-get update && apt-get install -y gcc g++ git cmake'
- run:
name: Show versions
command: 'g++ --version ; uname -a; cmake --version'
- run:
name: Run CMake
command: 'mkdir build ; cd build ; cmake ..'
command: 'mkdir build ; cd build ; cmake .. -DJSON_BuildTests=On'
- run:
name: Compile
command: 'cmake --build build'
@ -33,12 +30,9 @@ jobs:
- run:
name: Install required tools
command: 'pacman -Sy --noconfirm base base-devel gcc git cmake'
- run:
name: Show versions
command: 'g++ --version ; uname -a; cmake --version'
- run:
name: Run CMake
command: 'mkdir build ; cd build ; cmake ..'
command: 'mkdir build ; cd build ; cmake .. -DJSON_BuildTests=On'
- run:
name: Compile
command: 'cmake --build build'