mirror of https://github.com/aminya/setup-cpp
docs: simplify the example [skip ci]
This commit is contained in:
parent
74cd8eb948
commit
c4e699eee8
|
@ -16,7 +16,7 @@ The package can be used locally or from CI services like GitHub Actions. Stay tu
|
||||||
`setup-cpp` can install all of these tools:
|
`setup-cpp` can install all of these tools:
|
||||||
|
|
||||||
- llvm
|
- llvm
|
||||||
- gcc and mingw
|
- gcc
|
||||||
- cmake
|
- cmake
|
||||||
- ninja
|
- ninja
|
||||||
- meson
|
- meson
|
||||||
|
@ -49,7 +49,6 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Test:
|
Test:
|
||||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -71,11 +70,12 @@ jobs:
|
||||||
conan: true
|
conan: true
|
||||||
cppcheck: true
|
cppcheck: true
|
||||||
ccache: true
|
ccache: true
|
||||||
|
# add any tool that you need here...
|
||||||
```
|
```
|
||||||
|
|
||||||
In the `compiler` entry, you can specify the version after a `-`. For example, `llvm-11`.
|
In the `compiler` entry, you can specify the version after a `-`. For example, `llvm-11`.
|
||||||
|
|
||||||
For the tools, instead of `true`, which choses the default version, you can pass a specific version.
|
For the tools, instead of `true`, which chooses the default version, you can pass a specific version.
|
||||||
|
|
||||||
### Incomplete
|
### Incomplete
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue