mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-09 10:41:22 +00:00
ci: add test-action-with-additional-options
job
This commit is contained in:
parent
2e16a1b0a6
commit
9e7240f816
26
.github/workflows/test.yaml
vendored
26
.github/workflows/test.yaml
vendored
@ -134,6 +134,32 @@ jobs:
|
||||
with:
|
||||
run-build: false
|
||||
|
||||
test-action-with-additional-options:
|
||||
name: Test Action With Additional Options
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Project
|
||||
uses: actions/checkout@v4.1.2
|
||||
with:
|
||||
repository: threeal/cpp-starter
|
||||
|
||||
- name: Checkout Action
|
||||
uses: actions/checkout@v4.1.2
|
||||
with:
|
||||
path: cmake-action
|
||||
sparse-checkout: |
|
||||
action.yml
|
||||
dist
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
- name: Configure and Build Project
|
||||
uses: ./cmake-action
|
||||
with:
|
||||
options: BUILD_TESTING=ON
|
||||
|
||||
- name: Test Project
|
||||
uses: threeal/ctest-action@v1.0.0
|
||||
|
||||
test-action-with-custom-generator:
|
||||
name: Test Action With Custom Generator
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user