mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-20 18:51:19 +00:00
add a run unit tests example in the README.md
This commit is contained in:
parent
4ee1d5d7fc
commit
921b31dcf4
10
README.md
10
README.md
@ -84,6 +84,16 @@ jobs:
|
|||||||
-DBUILD_TESTING=ON
|
-DBUILD_TESTING=ON
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Run Unit Tests After Build
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- name: Configure, build, and test this project
|
||||||
|
uses: threeal/cmake-action@latest
|
||||||
|
with:
|
||||||
|
args: -DBUILD_TESTING=ON
|
||||||
|
run-test: true
|
||||||
|
```
|
||||||
|
|
||||||
#### Using Ninja as the Generator and Clang as the Compiler
|
#### Using Ninja as the Generator and Clang as the Compiler
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user