mirror of
https://github.com/PDB-REDO/dssp.git
synced 2026-06-04 13:44:21 +08:00
Build and install cifpp first
This commit is contained in:
21
.github/workflows/cmake-multi-platform.yml
vendored
21
.github/workflows/cmake-multi-platform.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
cpp_compiler: clang++
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set reusable strings
|
||||
id: strings
|
||||
@@ -52,6 +52,25 @@ jobs:
|
||||
run: ./tools/depends.cmd
|
||||
shell: cmd
|
||||
|
||||
- name: Checkout libcifpp
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: pdb-redo/libcifpp
|
||||
path: libcifpp
|
||||
|
||||
- name: Build libcifpp
|
||||
run: |
|
||||
cmake -B ${{github.workspace}}/libcifpp/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -S ${{github.workspace}}/libcifpp -DBUILD_DOCUMENTATION=OFF -DBUILD_TESTING=OFF
|
||||
cmake --build ${{github.workspace}}/libcifpp/build
|
||||
|
||||
- name: Install libcifpp
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: sudo cmake --install ${{github.workspace}}/libcifpp/build
|
||||
|
||||
- name: Install libcifpp (Windows)
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: cmake --install ${{github.workspace}}/libcifpp/build
|
||||
|
||||
- name: Configure CMake
|
||||
run: >
|
||||
cmake -B ${{ steps.strings.outputs.build-output-dir }}
|
||||
|
||||
Reference in New Issue
Block a user