mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-18 18:01:20 +00:00
add workflow job to test this action with specified build dir
This commit is contained in:
parent
a0fbcc2eb0
commit
e580c4b6e5
15
.github/workflows/test.yml
vendored
15
.github/workflows/test.yml
vendored
@ -31,3 +31,18 @@ jobs:
|
||||
|
||||
- name: Run build result
|
||||
run: ./build/hello_world
|
||||
|
||||
use-action-with-specified-build-dir:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3.3.0
|
||||
|
||||
- name: Use this action with specified build directory
|
||||
uses: ./
|
||||
with:
|
||||
source-dir: test
|
||||
build-dir: test/build
|
||||
|
||||
- name: Run build result
|
||||
run: test/build/hello_world
|
||||
|
Loading…
Reference in New Issue
Block a user