diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-18 09:05:07 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-18 09:05:07 +0300 |
commit | 9211e839ddce57f22cd3ec866bfde37262b3214c (patch) | |
tree | dda61b538db93895251772b3e36cf292509b242f /.github/actions/check-boost/action.yml | |
parent | workflows/test: factor out a common step (diff) | |
download | build-boost-9211e839ddce57f22cd3ec866bfde37262b3214c.tar.gz build-boost-9211e839ddce57f22cd3ec866bfde37262b3214c.zip |
workflows/test: test custom Boost directory
Diffstat (limited to '.github/actions/check-boost/action.yml')
-rw-r--r-- | .github/actions/check-boost/action.yml | 13 |
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 |