1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-31 06:01:12 +02:00
ModernCppStarter/.github/workflows/install.yml
2020-04-13 17:30:09 +02:00

30 lines
507 B
YAML

name: Install
on: [push]
env:
CTEST_OUTPUT_ON_FAILURE: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install
run: |
cmake -H. -Bbuild
cmake --build build --target install
- name: configure
run: cmake -Htest -Bbuild/test -DTEST_INSTALLED_VERSION=1
- name: build
run: cmake --build build/test --config Debug
- name: test
run: |
cd build/test
ctest --build-config Debug