14
14
matrix :
15
15
os : [[alpine, bash], [fedora, bash]]
16
16
steps :
17
- - uses : actions/checkout@v3
17
+ - uses : actions/checkout@v4
18
18
19
19
- name : Install dependencies Alpine
20
20
if : matrix.os[0] == 'alpine'
@@ -36,31 +36,36 @@ jobs:
36
36
runs-on : ${{ matrix.os[0] }}
37
37
strategy :
38
38
matrix :
39
- os : [[macos-latest, bash], [macos-11, bash], [ubuntu-latest, bash]]
39
+ os : [
40
+ [macos-latest, arm64, bash],
41
+ [macos-13, x86_64, bash],
42
+ [ubuntu-latest, x86_64, bash]
43
+ ]
44
+ fail-fast : false
40
45
defaults :
41
46
run :
42
- shell : ${{ matrix.os[1 ] }} {0}
47
+ shell : ${{ matrix.os[2 ] }} {0}
43
48
44
49
steps :
45
- - uses : actions/checkout@v3
50
+ - uses : actions/checkout@v4
46
51
47
52
- name : Install on Ubuntu
48
53
if : matrix.os[0] == 'ubuntu-latest'
49
54
run : |
50
55
sudo apt-get update
51
- sudo apt-get -y install libarchive-dev libcurl4 libcurl4-openssl-dev libssl-dev libarchive-dev libgpgme-dev
52
- echo "MSYSTEM=x64" >> $GITHUB_ENV
56
+ sudo apt-get -y install libcurl4 libcurl4-openssl-dev libssl-dev libarchive-dev libgpgme-dev
53
57
54
58
- name : Install Dependencies Mac
55
59
if : startsWith( matrix.os[0], 'macos' )
56
60
run : |
57
- brew install automake libarchive bash openssl libarchive gpgme libtool
58
- echo "MSYSTEM=x64" >> $GITHUB_ENV
61
+ brew update
62
+ brew install automake bash openssl libarchive gpgme libtool
63
+ brew reinstall openssl@3 # https://github.com/Homebrew/homebrew-core/issues/169728#issuecomment-2074958306
59
64
60
65
- name : Compile Tools
61
66
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"
64
69
export PSPDEV=$PWD/pspdev
65
70
export PATH=$PATH:$PSPDEV/bin
66
71
./build-all.sh
0 commit comments