Skip to content

Commit 9f310c6

Browse files
committed
Add MacOS arm support
1 parent 2e45009 commit 9f310c6

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/compilation.yml

+11-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
os: [[alpine, bash], [fedora, bash]]
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Install dependencies Alpine
2020
if: matrix.os[0] == 'alpine'
@@ -36,13 +36,18 @@ jobs:
3636
runs-on: ${{ matrix.os[0] }}
3737
strategy:
3838
matrix:
39-
os: [[macos-latest, bash], [macos-11, bash], [ubuntu-latest, bash]]
39+
os: [
40+
[macos-latest, bash],
41+
[macos-13, bash],
42+
[ubuntu-latest, bash],
43+
[windows-latest, msys2]
44+
]
4045
defaults:
4146
run:
42-
shell: ${{ matrix.os[1] }} {0}
47+
shell: ${{ matrix.os[2] }} {0}
4348

4449
steps:
45-
- uses: actions/checkout@v3
50+
- uses: actions/checkout@v4
4651

4752
- name: Install on Ubuntu
4853
if: matrix.os[0] == 'ubuntu-latest'
@@ -59,8 +64,8 @@ jobs:
5964
6065
- name: Compile Tools
6166
run: |
62-
export PATH="/usr/local/opt/libtool/libexec/gnubin:$PATH"
63-
export PKG_CONFIG_PATH="/usr/local/opt/libarchive/lib/pkgconfig:/usr/local/opt/openssl@3/lib/pkgconfig"
67+
export PATH="$(brew --prefix libtool)/libexec/gnubin:$PATH"
68+
export PKG_CONFIG_PATH="$(brew --prefix libarchive)/lib/pkgconfig:$(brew --prefix openssl@3)/lib/pkgconfig"
6469
export PSPDEV=$PWD/pspdev
6570
export PATH=$PATH:$PSPDEV/bin
6671
./build-all.sh

0 commit comments

Comments
 (0)