only:Unit Tests on Windows

This commit is contained in:
rusefillc 2023-11-04 13:18:55 -04:00
parent b8f71d834b
commit 23fbc3f8f4
3 changed files with 10 additions and 5 deletions

View File

@ -33,6 +33,9 @@ jobs:
with:
version: 8.1.0
- name: Print bash version
working-directory: .
run: bash --version

View File

@ -36,12 +36,16 @@ jobs:
run: |
brew install mtools zip dosfstools
- name: Print bash version
working-directory: .
run: bash --version
- name: Test Java Compiler
run: javac -version
- name: Generate Configs, Enums & Live Documentation
working-directory: ./firmware/
run: ./gen_default_everything.sh
run: bash gen_default_everything.sh
- name: Print Compiler version
# NOTE: on mac, this is actually symlink'd to clang, not gcc, but that's ok - we want to build on both

View File

@ -6,10 +6,8 @@
# fail on error
set -e
KERNEL_NAME="$(expr substr $(uname -s) 1 6)"
echo $KERNEL_NAME
if [ $KERNEL_NAME == "CYGWIN" ]; then
echo No image on CYGWIN
if [ "$(expr substr $(uname -s) 1 6)" == "CYGWIN" || "$(expr substr $(uname -s) 1 5)" == "MINGW"]; then
echo No image on $(uname -s)
exit 0
fi