From 7edd77f2b9de314491a3c1127bd4c1045d8cf7b9 Mon Sep 17 00:00:00 2001 From: Wei Shuai Date: Thu, 20 May 2021 14:45:37 +0800 Subject: workflows:add macos and linux --- .github/workflows/cmake.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.github/workflows') 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 -- cgit v1.2.3