audit examples in the README.md

This commit is contained in:
Alfi Maulana 2023-01-23 15:39:29 +07:00
parent 921b31dcf4
commit 42dedb7507
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -67,21 +67,16 @@ jobs:
uses: threeal/cmake-action@latest uses: threeal/cmake-action@latest
with: with:
source-dir: submodules source-dir: submodules
build-dir: submodules/build build-dir: submodules/out
``` ```
#### Specify the Build Targets and Additional Options #### Specify the Build Targets
```yaml ```yaml
- name: Configure and build this project - name: Configure and build this project
uses: threeal/cmake-action@latest uses: threeal/cmake-action@latest
with: with:
targets: hello_world_test fibonacci_test targets: hello_mars hello_sun
c-flags: -Werror
cxx-flags: -Werror
args: |
-DCMAKE_BUILD_TYPE=Debug
-DBUILD_TESTING=ON
``` ```
#### Run Unit Tests After Build #### Run Unit Tests After Build