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:
|
||||
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
|
||||
|
|
10
.gitignore
vendored
10
.gitignore
vendored
|
@ -1,4 +1,14 @@
|
|||
/build*
|
||||
/.vscode
|
||||
/cpm_modules
|
||||
|
||||
# apple
|
||||
.DS_Store
|
||||
|
||||
# clion
|
||||
.idea/
|
||||
cmake-*/
|
||||
|
||||
# visual studio
|
||||
out/
|
||||
.vs/
|
Loading…
Add table
Add a link
Reference in a new issue