Skip to content

Commit

Permalink
ci: checkout action to ctest-action directory
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Mar 20, 2024
1 parent 3b3fb85 commit e0db53e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4.1.2
with:
path: ctest-action

- name: Prepare Sample Project
run: mv test/* .
run: mv ctest-action/test/* .

- name: Configure and Build Project
uses: threeal/cmake-action@v1.3.0
with:
run-build: true

- name: Test Project
uses: ./
uses: ./ctest-action
with:
args: ${{ matrix.os == 'windows' && '-C Debug' || '' }}

0 comments on commit e0db53e

Please # to comment.