Skip to content

Commit d4b4693

Browse files
workflow update
1 parent b737cb6 commit d4b4693

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,21 @@ jobs:
5858
# access regardless of the host operating system
5959
shell: bash
6060
working-directory: ${{runner.workspace}}/build
61-
# Note the current convention is to use the -S and -B options here to specify source
62-
# and build directories, but this is only available with CMake 3.13 and higher.
63-
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
64-
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
65-
61+
run: cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .
62+
6663
- name: Build
6764
working-directory: ${{runner.workspace}}/build
6865
shell: bash
6966
# Execute the build. You can specify a specific target with "--target <NAME>"
70-
run: cmake --build . --config $BUILD_TYPE --target SHERPAS
67+
run: make
7168

72-
- name: Test
69+
- name: Test SHERPAS
7370
working-directory: ${{runner.workspace}}/build
7471
shell: bash
7572
run: sherpas/SHERPAS -h
73+
74+
- name: Test XPAS-DNA (db build capacity)
75+
working-directory: ${{runner.workspace}}/build
76+
shell: bash
77+
run: lib/xpas/build/xpas-build-dna -h
78+

0 commit comments

Comments
 (0)