Skip to content

Commit

Permalink
[.github] Test device build in windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcNumworks committed Dec 14, 2023
1 parent 724bf68 commit 513df9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,13 @@ jobs:
mingw-w64-x86_64-python3
mingw-w64-x86_64-python3-lz4
mingw-w64-x86_64-python3-pip
mingw-w64-x86_64-arm-none-eabi-gcc
- uses: actions/checkout@v3
- run: build/setup.sh --only-simulator
- run: make PLATFORM=simulator ASSERTIONS=1 epsilon.exe
- run: make PLATFORM=simulator ASSERTIONS=1 test.exe
- run: ./output/release/simulator/windows/test.exe --headless --limit-stack-usage
- run: make -j8 userland.A.elf
- uses: actions/upload-artifact@v3
with:
name: epsilon-windows.exe
Expand Down
4 changes: 3 additions & 1 deletion build/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ install_windows_binary_deps() {
mingw-w64-x86_64-python3-pip

if [[ "${INSTALL_ARM_GCC-0}" == "1" ]]; then
echo "Please head to https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads and download the latest Windows (mingw-w64-i686) hosted cross toolchains for AArch32 bare-metal targets (arm-none-eabi)"
pacman -S --noconfirm \
mingw-w64-x86_64-python-pyusb
mingw-w64-x86_64-arm-none-eabi-gcc
fi
}

Expand Down

0 comments on commit 513df9f

Please sign in to comment.