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

feat: standalone multi os

This commit is contained in:
Alexandre Tolstenko 2022-12-02 09:53:33 -05:00
parent a13bc56bcb
commit 21320e29ef
2 changed files with 17 additions and 3 deletions

View file

@ -15,7 +15,11 @@ env:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v2
@ -23,7 +27,7 @@ jobs:
- uses: actions/cache@v2
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
key: ${{ matrix.os }}-${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure
run: cmake -Sstandalone -Bbuild -DCMAKE_BUILD_TYPE=Debug

12
.gitignore vendored
View file

@ -1,4 +1,14 @@
/build*
/.vscode
/cpm_modules
.DS_Store
# apple
.DS_Store
# clion
.idea/
cmake-*/
# visual studio
out/
.vs/