1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00

add standalone workflow

This commit is contained in:
Lars Melchior 2020-04-14 13:55:40 +02:00
parent 93d0fe795c
commit bdbdd7700d
2 changed files with 20 additions and 1 deletions

20
.github/workflows/standalone.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Standalone
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: configure
run: cmake -Hstandalone -Bbuild
- name: build
run: cmake --build build/standalone
- name: run
run: ./build/standalone/Greeter

View file

@ -37,7 +37,6 @@ CPMAddPackage(
# Note:
# for single header libraries use `add_library(Greeter INTERFACE)` instead
# To create an executable use `add_executable(Greeter ${headers} ${sources})`
add_library(Greeter ${headers} ${sources})
# Note: for single header libraries use the following instead: