From 46213c12959b354dd638509027434125b850046a Mon Sep 17 00:00:00 2001 From: Abdessattar Sassi <457645+abdes@users.noreply.github.com> Date: Wed, 8 May 2024 00:03:02 +0400 Subject: [PATCH] ci: no need to specify source directory in cmake command --- .github/workflows/macos-builds.yml | 2 +- .github/workflows/ubuntu-builds.yml | 2 +- .github/workflows/windows-builds.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macos-builds.yml b/.github/workflows/macos-builds.yml index b3be52b..b513116 100644 --- a/.github/workflows/macos-builds.yml +++ b/.github/workflows/macos-builds.yml @@ -58,7 +58,7 @@ jobs: - name: Configure build working-directory: ${{runner.workspace}} run: | - cmake -B build -S $GITHUB_WORKSPACE \ + cmake -B build \ -D CMAKE_BUILD_TYPE=${{matrix.build_type}} \ -G "${{ matrix.generator }}" \ -D USE_CCACHE=ON \ diff --git a/.github/workflows/ubuntu-builds.yml b/.github/workflows/ubuntu-builds.yml index 53825d8..d14df9d 100644 --- a/.github/workflows/ubuntu-builds.yml +++ b/.github/workflows/ubuntu-builds.yml @@ -169,7 +169,7 @@ jobs: - name: Configure build working-directory: ${{runner.workspace}} run: | - cmake -B build -S $GITHUB_WORKSPACE \ + cmake -B build \ -D CMAKE_BUILD_TYPE=${{matrix.build_type}} \ -G Ninja \ -D CMAKE_MAKE_PROGRAM=ninja \ diff --git a/.github/workflows/windows-builds.yml b/.github/workflows/windows-builds.yml index f96a85b..fc42651 100644 --- a/.github/workflows/windows-builds.yml +++ b/.github/workflows/windows-builds.yml @@ -62,7 +62,7 @@ jobs: - name: Configure build working-directory: ${{runner.workspace}} run: | - cmake -B build -S $GITHUB_WORKSPACE ` + cmake -B build ` -D CMAKE_BUILD_TYPE=${{matrix.build_type}} ` -G "${{ matrix.generator }}" ` -D USE_CCACHE=ON `