aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/actions
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-18 09:05:07 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-18 09:05:07 +0300
commit9211e839ddce57f22cd3ec866bfde37262b3214c (patch)
treedda61b538db93895251772b3e36cf292509b242f /.github/actions
parentworkflows/test: factor out a common step (diff)
downloadbuild-boost-9211e839ddce57f22cd3ec866bfde37262b3214c.tar.gz
build-boost-9211e839ddce57f22cd3ec866bfde37262b3214c.zip
workflows/test: test custom Boost directory
Diffstat (limited to '')
-rw-r--r--.github/actions/check-boost/action.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/actions/check-boost/action.yml b/.github/actions/check-boost/action.yml
new file mode 100644
index 0000000..e7c471a
--- /dev/null
+++ b/.github/actions/check-boost/action.yml
@@ -0,0 +1,13 @@
+name: Check that Boost was downloaded
+description: Check that Boost was downloaded
+inputs:
+ root:
+ description: Root Boost directory
+ required: true
+runs:
+ using: composite
+ steps:
+ - run: |
+ $config_path = Join-Path '${{ inputs.root }}' boost config.hpp
+ $(Test-Path $config_path -Type Leaf) -or $(throw "Couldn't find config.hpp at: $config_path")
+ shell: pwsh