Skip to content

Commit

Permalink
Add MacOS arm support
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtrujy committed May 1, 2024
1 parent 2e45009 commit 9f310c6
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
os: [[alpine, bash], [fedora, bash]]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install dependencies Alpine
if: matrix.os[0] == 'alpine'
Expand All @@ -36,13 +36,18 @@ jobs:
runs-on: ${{ matrix.os[0] }}
strategy:
matrix:
os: [[macos-latest, bash], [macos-11, bash], [ubuntu-latest, bash]]
os: [
[macos-latest, bash],
[macos-13, bash],
[ubuntu-latest, bash],
[windows-latest, msys2]
]
defaults:
run:
shell: ${{ matrix.os[1] }} {0}
shell: ${{ matrix.os[2] }} {0}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

0 comments on commit 9f310c6

Please sign in to comment.