-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alberto Griggio
committed
Nov 22, 2024
1 parent
4bc386c
commit ba31906
Showing
1 changed file
with
3 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,32 +35,20 @@ jobs: | |
#tar xJf ${ART_DIR}.tar.xz | ||
git clone --depth 1 --branch macos-bundle-simplified https://[email protected]/agriggio/art.git ${ART_DIR} | ||
- name: Cache MacPorts base install | ||
id: cache-macports | ||
uses: actions/cache@v3 | ||
with: | ||
path: /opt/local | ||
key: cache-macports-${{ matrix.os }}-${{ matrix.arch }} | ||
|
||
- if: | | ||
steps.cache-macports.outputs.cache-hit != 'true' && | ||
matrix.os == 'macos-12' | ||
- if: ${{ matrix.os == 'macos-12' }} | ||
name: Install MacPorts x64 | ||
run: | | ||
wget https://github.com/macports/macports-base/releases/download/v2.10.4/MacPorts-2.10.4-12-Monterey.pkg | ||
sudo installer -pkg MacPorts-2.10.4-12-Monterey.pkg -target / | ||
- if: | | ||
steps.cache-macports.outputs.cache-hit != 'true' && | ||
matrix.os == 'macos-14' | ||
- if: ${{ matrix.os == 'macos-14' }} | ||
name: Install MacPorts arm64 | ||
run: | | ||
wget https://github.com/macports/macports-base/releases/download/v2.10.4/MacPorts-2.10.4-14-Sonoma.pkg | ||
sudo installer -pkg MacPorts-2.10.4-14-Sonoma.pkg -target / | ||
export PATH=/opt/local/libexec/gnubin:/opt/local/bin:/opt/local/sbin:$PATH | ||
- if: ${{ steps.cache-macports.outputs.cache-hit != 'true' }} | ||
name: Install base ports | ||
- name: Install base ports | ||
run: | | ||
export PATH=/opt/local/libexec/gnubin:/opt/local/bin:/opt/local/sbin:$PATH | ||
sudo port -t install pkgconfig | ||
|