Skip to content

Commit 029c9e8

Browse files
authored
Merge pull request #106 from fjtrujy/adding_AppleSilliconSupport
Add Apple Sillicon support
2 parents d2d7550 + fff8b58 commit 029c9e8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/compilation.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ jobs:
1212
runs-on: ${{ matrix.os[0] }}
1313
strategy:
1414
matrix:
15-
os: [[macos-13, bash], [ubuntu-latest, bash], [windows-latest, msys2]]
15+
os: [
16+
[macos-latest, arm64, bash],
17+
[macos-13, x86_64, bash],
18+
[ubuntu-latest, x86_64, bash],
19+
[windows-latest, x86_64, msys2]
20+
]
1621
fail-fast: false
1722
defaults:
1823
run:
19-
shell: ${{ matrix.os[1] }} {0}
24+
shell: ${{ matrix.os[2] }} {0}
2025

2126
steps:
2227
- uses: actions/checkout@v4
@@ -47,7 +52,6 @@ jobs:
4752
run: |
4853
export PS2DEV=$PWD/ps2dev
4954
export PS2SDK=$PS2DEV/ps2sdk
50-
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
51-
export PATH="/usr/local/opt/bison/bin:$PATH"
55+
export PATH="$(brew --prefix gnu-sed)/libexec/gnubin:$PATH" # This is just needed for MacOS
5256
export PATH=$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin
5357
./toolchain.sh

0 commit comments

Comments
 (0)