mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-22 03:21:21 +00:00
rename jobs in test.yml
workflow
This commit is contained in:
parent
be74c742c5
commit
ec0ec4113c
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -3,7 +3,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
jobs:
|
jobs:
|
||||||
use-action:
|
default-usage:
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -21,7 +21,7 @@ jobs:
|
|||||||
- name: Run build result
|
- name: Run build result
|
||||||
run: ${{ matrix.os == 'windows' && 'build\Debug\hello_world.exe' || 'build/hello_world' }}
|
run: ${{ matrix.os == 'windows' && 'build\Debug\hello_world.exe' || 'build/hello_world' }}
|
||||||
|
|
||||||
use-action-with-specified-dir:
|
specified-dir-usage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Check if the default build directory does not exist
|
- name: Check if the default build directory does not exist
|
||||||
run: test ! -d build
|
run: test ! -d build
|
||||||
|
|
||||||
use-action-with-specified-compiler:
|
specified-compiler-usage:
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
- name: Run build result
|
- name: Run build result
|
||||||
run: build/test_c && build/test_cpp
|
run: build/test_c && build/test_cpp
|
||||||
|
|
||||||
use-action-with-specified-generator:
|
specified-generator-usage:
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
Loading…
Reference in New Issue
Block a user