Skip to content

Commit

Permalink
ci-staging: shorter build
Browse files Browse the repository at this point in the history
  • Loading branch information
VDanielEdwards committed Jul 9, 2024
1 parent b099a75 commit b4b5fe8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
14 changes: 7 additions & 7 deletions .github/actions/sil-kit-ci/cmake-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ runs:
- name: (linux) configure cmake preset
if: runner.os == 'Linux'
shell: bash
run: |
docker run \
-v "${{ github.workspace }}/s:/s" \
-v "${{ github.workspace }}/b/linux:/b" \
"${{ inputs.linux-docker-image }}" \
cmake \
--build /b \
run: >
docker run
-v "${{ github.workspace }}/s:/s"
-v "${{ github.workspace }}/b/linux:/b"
"${{ inputs.linux-docker-image }}"
cmake
--build /b
--parallel
22 changes: 13 additions & 9 deletions .github/actions/sil-kit-ci/cmake-configure/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,18 @@ runs:
- name: (linux) configure cmake preset
if: runner.os == 'Linux'
shell: bash
run: |
docker run \
-v "${{ github.workspace }}/s:/s" \
-v "${{ github.workspace }}/b/linux:/b" \
"${{ inputs.linux-docker-image }}" \
cmake \
-S /s/sil-kit \
-B /b \
-G Ninja \
run: >
docker run
-v "${{ github.workspace }}/s:/s"
-v "${{ github.workspace }}/b/linux:/b"
"${{ inputs.linux-docker-image }}"
cmake
-S /s/sil-kit
-B /b
-G Ninja
-D CMAKE_BUILD_TYPE=Release
-D SILKIT_BUILD_DEMOS=OFF
-D SILKIT_BUILD_UTILITIES=OFF
-D SILKIT_BUILD_DASHBOARD=OFF
-D SILKIT_BUILD_DOCS=OFF

0 comments on commit b4b5fe8

Please sign in to comment.