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 1fdb5df
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ 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
cd tmp/cxxshm
git checkout $(git tag | grep -P '^v\d+\.\d+\.\d+$' | sort | tail -1)
cd -
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 1fdb5df

Please sign in to comment.