Update ci.yml

This commit is contained in:
pantor
2019-09-08 15:55:06 +02:00
committed by GitHub
parent 3705e3e23a
commit ba2aa0477c

View File

@@ -3,7 +3,7 @@ name: C++ CI
on: push
jobs:
build:
test:
runs-on: ubuntu-latest
steps:
@@ -12,7 +12,7 @@ jobs:
- name: Install Dependencies
env:
dependency_packages: build-essential g++-5
run: apt-get update && apt-get -y install ${dependency_packages}
run: sudo apt-get update && sudo apt-get -y install ${dependency_packages}
- name: Build
run: |
@@ -20,5 +20,5 @@ jobs:
cmake ..
cmake --build . --config Release -- -j4
- name: Run Tests
- name: Test
run: ctest -C Release -V