Skip to content

Commit

Permalink
install cxxshm
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolasK-source committed Mar 31, 2024
1 parent f6bf58e commit 19aedf8
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Init submodules
run: git submodule init

- name: Update submodules
run: git submodule update
- uses: actions/checkout@v4

- name: install cxxshm
run: |
mkdir tmp
git clone https://github.com/NikolasK-source/cxxshm.git tmp/cxxshm
git --git-dir tmp/cxxshm checkout $(git --git-dir tmp/cxxshm tag | grep -P '^v\d+\.\d+\.\d+$' | sort | tail -1)
cmake -B tmp/cxxshm/build tmp/cxxshm -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCLANG_FORMAT=OFF -DCOMPILER_WARNINGS=OFF -DCLANG_TIDY=OFF
cmake --build tmp/cxxshm/build
sudo cmake --install tmp/cxxshm/build
- 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.
Expand Down

0 comments on commit 19aedf8

Please sign in to comment.