Skip to content

Commit

Permalink
Merge pull request #19 from zourenDevote/develop
Browse files Browse the repository at this point in the history
test: 最终完善CICD
  • Loading branch information
zourenDevote committed Aug 15, 2023
2 parents 08fcecc + 0385651 commit 0adb047
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

name: CMake on multiple platforms

on:
Expand All @@ -8,20 +9,16 @@ on:

jobs:
build-linux-debug:



runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up LLVM on Linux
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y llvm
sudo apt-get install build-essential
sudo apt-get install cmake
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Configure CMake (Linux)
run: |
Expand Down Expand Up @@ -58,7 +55,3 @@ jobs:
make -j 16
ctest -j 16 --stop-on-failure



0 comments on commit 0adb047

Please sign in to comment.