From b4b5fe808aa5b47f6db29e2fdabd9512e9330ea3 Mon Sep 17 00:00:00 2001 From: Daniel Edwards Date: Tue, 9 Jul 2024 18:00:08 +0200 Subject: [PATCH] ci-staging: shorter build --- .../actions/sil-kit-ci/cmake-build/action.yml | 14 ++++++------ .../sil-kit-ci/cmake-configure/action.yml | 22 +++++++++++-------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/actions/sil-kit-ci/cmake-build/action.yml b/.github/actions/sil-kit-ci/cmake-build/action.yml index d8069b3d..7c17f936 100644 --- a/.github/actions/sil-kit-ci/cmake-build/action.yml +++ b/.github/actions/sil-kit-ci/cmake-build/action.yml @@ -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 diff --git a/.github/actions/sil-kit-ci/cmake-configure/action.yml b/.github/actions/sil-kit-ci/cmake-configure/action.yml index 82b58775..e177b350 100644 --- a/.github/actions/sil-kit-ci/cmake-configure/action.yml +++ b/.github/actions/sil-kit-ci/cmake-configure/action.yml @@ -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