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,35 @@ 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
+ [windows-latest, x86_64, msys2]
44
+ ]
45
+ fail-fast : false
40
46
defaults :
41
47
run :
42
- shell : ${{ matrix.os[1 ] }} {0}
48
+ shell : ${{ matrix.os[2 ] }} {0}
43
49
44
50
steps :
45
- - uses : actions/checkout@v3
51
+ - uses : actions/checkout@v4
46
52
47
53
- name : Install on Ubuntu
48
54
if : matrix.os[0] == 'ubuntu-latest'
49
55
run : |
50
56
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
57
+ sudo apt-get -y install libcurl4 libcurl4-openssl-dev libssl-dev libarchive-dev libgpgme-dev
53
58
54
59
- name : Install Dependencies Mac
55
60
if : startsWith( matrix.os[0], 'macos' )
56
61
run : |
57
- brew install automake libarchive bash openssl libarchive gpgme libtool
58
- echo "MSYSTEM=x64" >> $GITHUB_ENV
62
+ brew install automake bash openssl libarchive gpgme libtool
59
63
60
64
- name : Compile Tools
61
65
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"
66
+ export PATH="$(brew --prefix libtool) /libexec/gnubin:$PATH"
67
+ export PKG_CONFIG_PATH="$(brew --prefix libarchive) /lib/pkgconfig:$(brew --prefix openssl@3) /lib/pkgconfig"
64
68
export PSPDEV=$PWD/pspdev
65
69
export PATH=$PATH:$PSPDEV/bin
66
70
./build-all.sh
0 commit comments