Skip to content

Commit

Permalink
Update warnings for the 'toolset' parameter (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusJx committed Aug 15, 2022
1 parent b64de4b commit 39bf4df
Show file tree
Hide file tree
Showing 9 changed files with 3,613 additions and 366 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
- "dist/**"
- "action.yml"
- "test/**"
pull_request:
paths:
- ".github/workflows/test-cmake.yml"
- "dist/**"
- "action.yml"
- "test/**"

env:
BUILD_TYPE: Debug
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
- ".github/workflows/test.yml"
- "dist/**"
- "action.yml"
pull_request:
paths:
- ".github/workflows/test-cmake.yml"
- "dist/**"
- "action.yml"
- "test/**"

jobs:
build:
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The list of supported toolsets and versions can be found [here](https://github.c
### `toolset`
**Optional** A toolset used to compile boost, e.g. ``msvc``.
May be one of ``msvc`` (windows), ``mingw`` (windows), ``gcc`` (linux) or ``clang`` (macOs).
**You maybe want to set this on windows as either ``mingw`` or ``msvc`` will be selected at random**
**You maybe want to set this on windows (when boost version is >= ``1.78.0``) as either ``mingw`` or ``msvc`` will be selected at random**
**which may cause your build to fail.**
Selecting this is only supported for boost versions ``1.78.0`` and higher with the new version of
this action or any version with the legacy versions. Please refer to the provided version manifests
Expand Down Expand Up @@ -77,7 +77,7 @@ The version of boost installed, e.g. ``boost-1.73.0-linux-16.04``.
### Windows
```yml
- name: Install boost
uses: MarkusJx/install-boost@v2.3.0
uses: MarkusJx/install-boost@v2.3.1
id: install-boost
with:
# REQUIRED: Specify the required boost version
Expand All @@ -98,7 +98,7 @@ The version of boost installed, e.g. ``boost-1.73.0-linux-16.04``.
### Ubuntu
```yml
- name: Install boost
uses: MarkusJx/install-boost@v2.3.0
uses: MarkusJx/install-boost@v2.3.1
id: install-boost
with:
# REQUIRED: Specify the required boost version
Expand All @@ -121,7 +121,7 @@ The version of boost installed, e.g. ``boost-1.73.0-linux-16.04``.
### MacOs
```yml
- name: Install boost
uses: MarkusJx/install-boost@v2.3.0
uses: MarkusJx/install-boost@v2.3.1
id: install-boost
with:
# REQUIRED: Specify the required boost version
Expand Down Expand Up @@ -162,7 +162,7 @@ The version of boost installed, e.g. ``boost-1.73.0-linux-16.04``.
or
```yml
- name: Install boost
uses: MarkusJx/install-boost@v2.3.0
uses: MarkusJx/install-boost@v2.3.1
id: install-boost
with:
# REQUIRED: Specify the required boost version
Expand Down Expand Up @@ -215,7 +215,7 @@ If you want to cache the boost versions to further accelerate your builds, you c
# Actual install step (only runs if the cache is empty)
- name: Install boost
if: steps.cache-boost.outputs.cache-hit != 'true'
uses: MarkusJx/install-boost@v2.3.0
uses: MarkusJx/install-boost@v2.3.1
with:
# Set the boost version (required)
boost_version: ${{BOOST_VERSION}}
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
# Actual install step (only runs if the cache is empty)
- name: Install boost
if: steps.cache-boost.outputs.cache-hit != 'true'
uses: MarkusJx/install-boost@v2.3.0
uses: MarkusJx/install-boost@v2.3.1
with:
# Set the boost version (required)
boost_version: ${{env.BOOST_VERSION}}
Expand Down
Loading

0 comments on commit 39bf4df

Please sign in to comment.