File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 11
11
runs-on : macos-latest
12
12
steps :
13
13
- uses : actions/checkout@v4
14
+ - name : install MacPorts
15
+ run : |
16
+ OS_NAME="$(case ${{ matrix.version }} in
17
+ 15)
18
+ echo Sequoia
19
+ ;;
20
+ 14)
21
+ echo Sonoma
22
+ ;;
23
+ 13)
24
+ echo Ventura
25
+ ;;
26
+ 12)
27
+ echo Montery
28
+ ;;
29
+ *)
30
+ exit 1
31
+ ;;
32
+ esac)"
33
+ MACPORTS_VERSION=2.10.5
34
+ MACPORTS_PKG_NAME="MacPorts-${MACPORTS_VERSION}-${{ matrix.version }}-${OS_NAME}.pkg"
35
+ MACPORTS_URL="https://github.com/macports/macports-base/releases/download/v${MACPORTS_VERSION}/${MACPORTS_PKG_NAME}"
36
+ wget -o "${MACPORTS_PKG_NAME}" "${MACPORTS_URL}"
37
+ sudo installer -pkg "${MACPORTS_PKG_NAME}" -target /
38
+ sudo /opt/local/bin/port install check
14
39
- name : make check
15
40
run : make check
You can’t perform that action at this time.
0 commit comments