summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/basic.yml
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-03-30 11:49:10 +0200
committerEgor Tensin <egor@tensin.name>2026-03-30 11:54:40 +0200
commit4cd3a9cdf65a8f0b96de21420b98b8e02181e4f4 (patch)
tree08b54a4313cdb41a883b244ffcbb423dbf7ced46 /.github/workflows/basic.yml
parentremove examples "dynamic" & "static" (diff)
downloadcmake-common-4cd3a9cdf65a8f0b96de21420b98b8e02181e4f4.tar.gz
cmake-common-4cd3a9cdf65a8f0b96de21420b98b8e02181e4f4.zip
move testing-only things into test/
Diffstat (limited to '.github/workflows/basic.yml')
-rw-r--r--.github/workflows/basic.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml
index 5b1f63e..fa2bc0a 100644
--- a/.github/workflows/basic.yml
+++ b/.github/workflows/basic.yml
@@ -51,10 +51,9 @@ jobs:
python -m project.boost.build boost/ filesystem
- name: Build example project
run: |
- $src_dir = Join-Path examples boost
- python -m project.build --boost boost/ --install install/ -- $src_dir build/
+ python -m project.build --boost boost/ --install install/ -- test/examples/boost/ build/
- name: Run example project
- run: ./.ci/run_foo.ps1 (Join-Path (Get-Location).Path install bin foo)
+ run: ./test/examples/boost/run.ps1 ./install/bin/foo
# Check that the most basic use-case works w/ different Python versions.
python-versions:
@@ -96,10 +95,9 @@ jobs:
boost-build boost/ filesystem
- name: Build example project
run: |
- $src_dir = Join-Path examples boost
- project-build --boost boost/ --install install/ -- $src_dir build/
+ project-build --boost boost/ --install install/ -- test/examples/boost/ build/
- name: Run example project
- run: ./.ci/run_foo.ps1 (Join-Path (Get-Location).Path install bin foo)
+ run: ./test/examples/boost/run.ps1 ./install/bin/foo
# Build a Python package and upload to PyPI.
publish: