(MOD) Changed default shell from "bash" to "sh" in github action file.
(MOD) Replaced cmake output file with \"/usr/share/libcompound.so\" in github action file.
This commit is contained in:
8
.github/workflows/cmake-multi-platform.yml
vendored
8
.github/workflows/cmake-multi-platform.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
- name: Set reusable strings
|
- name: Set reusable strings
|
||||||
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
|
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
|
||||||
id: strings
|
id: strings
|
||||||
shell: bash
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
|
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
@@ -61,11 +61,11 @@ jobs:
|
|||||||
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
|
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
|
||||||
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
|
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
|
||||||
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
||||||
-S ${{ github.workspace }}
|
-S /usr/lib/libcompound.so
|
||||||
|
|
||||||
- name: PreInstall
|
- name: PreInstall
|
||||||
# Perform pre-installation.
|
# Perform pre-installation.
|
||||||
run: sudo bash ./preinstall
|
run: sudo ./preinstall
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
|
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
|
||||||
@@ -73,7 +73,7 @@ jobs:
|
|||||||
|
|
||||||
- name: PostInstall
|
- name: PostInstall
|
||||||
# Perform post-installation.
|
# Perform post-installation.
|
||||||
run: sudo bash ./postinstall
|
run: sudo ./postinstall
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{ steps.strings.outputs.build-output-dir }}
|
working-directory: ${{ steps.strings.outputs.build-output-dir }}
|
||||||
|
Reference in New Issue
Block a user