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:
parent
a13bc56bcb
commit
21320e29ef
2 changed files with 17 additions and 3 deletions
8
.github/workflows/standalone.yml
vendored
8
.github/workflows/standalone.yml
vendored
|
@ -15,7 +15,11 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -23,7 +27,7 @@ jobs:
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: "**/cpm_modules"
|
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
|
- name: configure
|
||||||
run: cmake -Sstandalone -Bbuild -DCMAKE_BUILD_TYPE=Debug
|
run: cmake -Sstandalone -Bbuild -DCMAKE_BUILD_TYPE=Debug
|
||||||
|
|
12
.gitignore
vendored
12
.gitignore
vendored
|
@ -1,4 +1,14 @@
|
||||||
/build*
|
/build*
|
||||||
/.vscode
|
/.vscode
|
||||||
/cpm_modules
|
/cpm_modules
|
||||||
.DS_Store
|
|
||||||
|
# apple
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# clion
|
||||||
|
.idea/
|
||||||
|
cmake-*/
|
||||||
|
|
||||||
|
# visual studio
|
||||||
|
out/
|
||||||
|
.vs/
|
Loading…
Add table
Add a link
Reference in a new issue