aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/basic.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 22:56:06 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 23:06:26 +0100
commitbc3c7c7190c5acaeb03ef82dc41cc716aaff76c6 (patch)
treee732851b92346135bcff5686181db6074df9724b /.github/workflows/basic.yml
parentworkflows/basic: test more Python versions (diff)
downloadcmake-common-bc3c7c7190c5acaeb03ef82dc41cc716aaff76c6.tar.gz
cmake-common-bc3c7c7190c5acaeb03ef82dc41cc716aaff76c6.zip
add runtime version information
Diffstat (limited to '.github/workflows/basic.yml')
-rw-r--r--.github/workflows/basic.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml
index c5cbeb0..7621e52 100644
--- a/.github/workflows/basic.yml
+++ b/.github/workflows/basic.yml
@@ -72,6 +72,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
@@ -81,14 +83,21 @@ jobs:
with:
path: boost_*.tar.gz
key: 'boost_${{ matrix.boost-version }}'
+ - name: 'Install package & dependencies'
+ run: pip install -q -e .
+ - name: Check that scripts are runnable
+ run: |
+ boost-download --version
+ boost-build --version
+ cmake-build --version
- name: Build Boost
run: |
- python -m project.boost.download --cache . '${{ matrix.boost-version }}' boost
- python -m project.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
- python -m project.cmake.build --boost boost --install install -- $src_dir
+ cmake-build --boost boost --install install -- $src_dir
- name: Run example project
run: ./.ci/run_foo.ps1 (Join-Path (Get-Location).Path install bin foo)
@@ -101,6 +110,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with: