mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-10 19:21:20 +00:00
ci: remove test-action-with-additional-args
job
This commit is contained in:
parent
c6e78d53e6
commit
ef8508db4f
35
.github/workflows/test.yaml
vendored
35
.github/workflows/test.yaml
vendored
@ -131,41 +131,6 @@ jobs:
|
|||||||
source-dir: cmake-action/test
|
source-dir: cmake-action/test
|
||||||
run-build: false
|
run-build: false
|
||||||
|
|
||||||
test-action-with-additional-args:
|
|
||||||
name: Test Action With Additional Arguments
|
|
||||||
runs-on: ${{ matrix.compiler == 'msvc' && 'windows' || 'ubuntu' }}-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
compiler: [gcc, msvc]
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4.1.2
|
|
||||||
with:
|
|
||||||
path: cmake-action
|
|
||||||
sparse-checkout: |
|
|
||||||
action.yml
|
|
||||||
dist
|
|
||||||
test
|
|
||||||
sparse-checkout-cone-mode: false
|
|
||||||
|
|
||||||
- name: Configure and Build Project
|
|
||||||
id: cmake-action
|
|
||||||
uses: ./cmake-action
|
|
||||||
with:
|
|
||||||
source-dir: cmake-action/test
|
|
||||||
c-flags: ${{ matrix.compiler == 'msvc' && '/w /WX-' || '-Wno-unused-variable' }}
|
|
||||||
cxx-flags: ${{ matrix.compiler == 'msvc' && '/w /WX-' || '-Wno-unused-variable' }}
|
|
||||||
options: CHECK_SURPASS_WARNING=ON
|
|
||||||
build-args: --target test_c --target test_cpp
|
|
||||||
|
|
||||||
- name: Test Project
|
|
||||||
uses: threeal/ctest-action@v1.0.0
|
|
||||||
with:
|
|
||||||
test-dir: ${{ steps.cmake-action.outputs.build-dir }}
|
|
||||||
build-config: Debug
|
|
||||||
tests-regex: test
|
|
||||||
|
|
||||||
test-action-with-custom-generator:
|
test-action-with-custom-generator:
|
||||||
name: Test Action With Custom Generator
|
name: Test Action With Custom Generator
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user