Skip to content

Commit 594875e

Browse files
committed
update ci
1 parent 8ea49a3 commit 594875e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/MacOs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ jobs:
6969
7070
- name: Try Setup LLVM Environment
7171
if: matrix.compiler.name == 'Clang'
72-
run: echo "PATH=$(brew --prefix llvm@${{matrix.compiler.ver}})/bin:${PATH}" >> $GITHUB_ENV
72+
run: |
73+
echo "PATH=$(brew --prefix llvm@${{matrix.compiler.ver}})/bin:${PATH}" >> $GITHUB_ENV
7374
7475
- name: Configure
7576
env:

.github/workflows/Windows.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,15 @@ jobs:
9898
- name: Try Setup MinGW Environment
9999
if: matrix.compiler.name == 'MinGW'
100100
shell: bash
101-
run: echo "PATH=${{env.CHOCO_MINGW_BIN_DIR}};${PATH}" >> $GITHUB_ENV
101+
run: |
102+
echo "PATH=${{env.CHOCO_MINGW_BIN_DIR}};${PATH}" |
103+
echo "PATH=${{env.CHOCO_MINGW_BIN_DIR}};${PATH}" >> $GITHUB_ENV
102104
103105
- name: Configure
104106
env:
105107
CXX: ${{matrix.cxx}}
106108
CC: ${{matrix.cc}}
107-
run: cmake -B ${{runner.workspace}}/build -G ${{matrix.generator}} ${{env.PARAMETERS}} -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_ALL_TESTS=ON
109+
run: cmake -B ${{runner.workspace}}/build -G "${{matrix.generator}}" ${{env.PARAMETERS}} -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_ALL_TESTS=ON
108110

109111
- name: Build
110112
run: cmake --build ${{runner.workspace}}/build --config ${{matrix.build_type}} -j

0 commit comments

Comments
 (0)