mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-20 18:51:19 +00:00
audit examples in the README.md
This commit is contained in:
parent
921b31dcf4
commit
42dedb7507
11
README.md
11
README.md
@ -67,21 +67,16 @@ jobs:
|
||||
uses: threeal/cmake-action@latest
|
||||
with:
|
||||
source-dir: submodules
|
||||
build-dir: submodules/build
|
||||
build-dir: submodules/out
|
||||
```
|
||||
|
||||
#### Specify the Build Targets and Additional Options
|
||||
#### Specify the Build Targets
|
||||
|
||||
```yaml
|
||||
- name: Configure and build this project
|
||||
uses: threeal/cmake-action@latest
|
||||
with:
|
||||
targets: hello_world_test fibonacci_test
|
||||
c-flags: -Werror
|
||||
cxx-flags: -Werror
|
||||
args: |
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
-DBUILD_TESTING=ON
|
||||
targets: hello_mars hello_sun
|
||||
```
|
||||
|
||||
#### Run Unit Tests After Build
|
||||
|
Loading…
Reference in New Issue
Block a user