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