From 21320e29efdbb086ec811cac3f7fe4e70eceda94 Mon Sep 17 00:00:00 2001 From: Alexandre Tolstenko Date: Fri, 2 Dec 2022 09:53:33 -0500 Subject: [PATCH] feat: standalone multi os --- .github/workflows/standalone.yml | 8 ++++++-- .gitignore | 12 +++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/standalone.yml b/.github/workflows/standalone.yml index 5d64e87..115dd84 100644 --- a/.github/workflows/standalone.yml +++ b/.github/workflows/standalone.yml @@ -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 diff --git a/.gitignore b/.gitignore index d54a4f4..3897705 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,14 @@ /build* /.vscode /cpm_modules -.DS_Store \ No newline at end of file + +# apple +.DS_Store + +# clion +.idea/ +cmake-*/ + +# visual studio +out/ +.vs/ \ No newline at end of file