File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -175,8 +175,11 @@ jobs:
175175
176176 build-examples-windows :
177177 name : Build Examples Windows
178- runs-on : windows-latest
179178 needs : [build-zephyr-binaries, build-systemc]
179+ runs-on : windows-latest
180+ defaults :
181+ run :
182+ shell : bash
180183 steps :
181184 - uses : actions/checkout@v4
182185
@@ -208,17 +211,16 @@ jobs:
208211 renode-revision : ${{ inputs.renode_gitrev || 'master' }}
209212
210213 - name : Build Windows examples
214+ shell : bash
211215 run : |
212- exec cmd //c "$RUNNER_TEMP/setup-msys2/msys2 $0"
213216 mkdir -p artifacts/windows_example_binaries
214217 mkdir -p artifacts/windows_test_binaries
215218 mkdir -p build
216219 pushd build
217- cmake .. -DCMAKE_SYSTEM_NAME=Windows \
218- -DCMAKE_CXX_STANDARD=14 \
219- -DUSER_SYSTEMC_INCLUDE_DIR=$(pwd)/../systemc/src \
220- -DUSER_SYSTEMC_LIB_DIR=$(pwd)/../artifacts/systemc_windows
221- make
220+ mingw32-cmake.exe .. -DCMAKE_CXX_STANDARD=14 \
221+ -DUSER_SYSTEMC_INCLUDE_DIR=$(pwd)/../systemc/src \
222+ -DUSER_SYSTEMC_LIB_DIR=$(pwd)/../artifacts/systemc_windows
223+ mingw32-make.exe
222224 popd
223225 for i in examples/*/; do
224226 cp "$i"/bin/* artifacts/windows_example_binaries
You can’t perform that action at this time.
0 commit comments