Skip to content

Commit

Permalink
Use GCC9 on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgerhardt committed Jun 16, 2024
1 parent 805fffc commit 243c8d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- name: CI-Build
run: |
echo 'Running in MSYS2!'
CFLAGS="-D_XOPEN_SOURCE=600" make build-simavr V=1
make build-simavr V=1
mkdir simavr_installed
CFLAGS="-D_XOPEN_SOURCE=600" make -k install DESTDIR=$(pwd)/simavr_installed/ || true
make -k install DESTDIR=$(pwd)/simavr_installed/ || true
mv simavr_installed/bin/simavr simavr_installed/bin/simavr.exe
file simavr_installed/bin/*
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -202,8 +202,8 @@ jobs:
run: |
HOMEBREW_NO_INSTALL_FROM_API=1 brew install make libelf freeglut patchelf
HOMEBREW_NO_INSTALL_FROM_API=1 brew tap osx-cross/avr
HOMEBREW_NO_INSTALL_FROM_API=1 brew install avr-gcc@5 avr-binutils
export PATH="/usr/local/opt/avr-gcc@5/bin:$PATH"
HOMEBREW_NO_INSTALL_FROM_API=1 brew install avr-gcc@9 avr-binutils
export PATH="/usr/local/opt/avr-gcc@9/bin:$PATH"
- name: CI-Build
run: |
avr-gcc --version || true
Expand Down

0 comments on commit 243c8d3

Please sign in to comment.