From b3c440a0e582b58bdfd984041e031cf061690648 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 3 Jul 2023 20:41:10 +0200 Subject: project.cmake: require the build dir argument It doesn't make a lot of sense for the build dir argument to be optional. There's still a placeholder you can use to build in a temporary directory. --- .github/workflows/basic.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 1b0f42a..d5db93d 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -48,12 +48,12 @@ jobs: key: 'boost_${{ matrix.boost-version }}' - name: Build Boost run: | - python -m project.boost.download --cache . '${{ matrix.boost-version }}' boost - python -m project.boost.build -- boost --with-filesystem + python -m project.boost.download --cache . '${{ matrix.boost-version }}' boost/ + python -m project.boost.build -- boost/ --with-filesystem - name: Build example project run: | $src_dir = Join-Path examples boost - python -m project.cmake.build --boost boost --install install -- $src_dir + python -m project.cmake.build --boost boost/ --install install/ -- $src_dir build/ - name: Run example project run: ./.ci/run_foo.ps1 (Join-Path (Get-Location).Path install bin foo) @@ -93,12 +93,12 @@ jobs: cmake-build --version - name: Build Boost run: | - boost-download --cache . '${{ matrix.boost-version }}' boost - boost-build -- boost --with-filesystem + boost-download --cache . '${{ matrix.boost-version }}' boost/ + boost-build -- boost/ --with-filesystem - name: Build example project run: | $src_dir = Join-Path examples boost - cmake-build --boost boost --install install -- $src_dir + cmake-build --boost boost/ --install install/ -- $src_dir build/ - name: Run example project run: ./.ci/run_foo.ps1 (Join-Path (Get-Location).Path install bin foo) -- cgit v1.2.3