diff options
author | Wei Shuai <cpuwolf@gmail.com> | 2021-05-20 14:45:37 +0800 |
---|---|---|
committer | Wei Shuai <cpuwolf@sina.com> | 2021-05-22 12:59:10 +0800 |
commit | 7edd77f2b9de314491a3c1127bd4c1045d8cf7b9 (patch) | |
tree | d223d369e95a2844cca4a9637c1d57256eed3c06 /.github | |
parent | a37a7e27c77245d5da8c5a7190373bf22592b12a (diff) |
workflows:add macos and linux
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cmake.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index bcaea3d5..159bac80 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-latest] + os: [macos-latest, windows-latest, ubuntu-latest] steps: - uses: actions/checkout@v2 @@ -45,6 +45,10 @@ jobs: - name: Build # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + + - name: Build install + # Build your program with the given configuration + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target install - name: Upload build uses: actions/upload-artifact@v2 |