mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-21 02:51:21 +00:00
commit
137e9d558f
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
uses: ./
|
uses: ./
|
||||||
|
|
||||||
- name: Run build result
|
- name: Run build result
|
||||||
run: ./build/hello_world
|
run: build/hello_world
|
||||||
|
|
||||||
use-action-with-specified-source-dir:
|
use-action-with-specified-source-dir:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
source-dir: test
|
source-dir: test
|
||||||
|
|
||||||
- name: Run build result
|
- name: Run build result
|
||||||
run: ./build/hello_world
|
run: build/hello_world
|
||||||
|
|
||||||
use-action-with-specified-build-dir:
|
use-action-with-specified-build-dir:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -19,8 +19,8 @@ runs:
|
|||||||
- name: Process inputs
|
- name: Process inputs
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
CONFIGURE_ARGS="'${{ inputs.source-dir }}' -B '${{ inputs.build-dir }}'"
|
CONFIGURE_ARGS="${{ inputs.source-dir }} -B ${{ inputs.build-dir }}"
|
||||||
BUILD_ARGS="--build '${{ inputs.build-dir }}'"
|
BUILD_ARGS="--build ${{ inputs.build-dir }}"
|
||||||
echo "CMAKE_CONFIGURE_ARGS=$CONFIGURE_ARGS" >> $GITHUB_ENV
|
echo "CMAKE_CONFIGURE_ARGS=$CONFIGURE_ARGS" >> $GITHUB_ENV
|
||||||
echo "CMAKE_BUILD_ARGS=$BUILD_ARGS" >> $GITHUB_ENV
|
echo "CMAKE_BUILD_ARGS=$BUILD_ARGS" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user