File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ on: [push, pull_request]
4
4
5
5
env :
6
6
BMI_VERSION : 2_0
7
+ BUILD_DIR : _build
7
8
8
9
jobs :
9
10
build-test-unix :
@@ -39,10 +40,10 @@ jobs:
39
40
40
41
- name : Configure project
41
42
run : |
42
- cmake -B _build -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release
43
+ cmake -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release
43
44
44
45
- name : Build and install
45
- run : cmake --build _build --target install --config Release
46
+ run : cmake --build ${{ env.BUILD_DIR }} --target install --config Release
46
47
47
48
- name : Test
48
49
run : |
81
82
82
83
- name : Configure, build, and install project
83
84
run : |
84
- cmake -B _build -G Ninja -DCMAKE_INSTALL_PREFIX="${{ env.LIBRARY_PREFIX }}" -DCMAKE_BUILD_TYPE=Release
85
- cmake --build _build --target install --config Release
85
+ cmake -B ${{ env.BUILD_DIR }} -G Ninja -DCMAKE_INSTALL_PREFIX="${{ env.LIBRARY_PREFIX }}" -DCMAKE_BUILD_TYPE=Release
86
+ cmake --build ${{ env.BUILD_DIR }} --target install --config Release
86
87
87
88
- name : Check (for humans)
88
89
run : |
You can’t perform that action at this time.
0 commit comments