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,34 @@ 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
+ ]
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
56
sudo apt-get -y install libarchive-dev libcurl4 libcurl4-openssl-dev libssl-dev libarchive-dev libgpgme-dev
52
- echo "MSYSTEM=x64" >> $GITHUB_ENV
53
57
54
58
- name : Install Dependencies Mac
55
59
if : startsWith( matrix.os[0], 'macos' )
56
60
run : |
57
61
brew install automake libarchive bash openssl libarchive gpgme libtool
58
- echo "MSYSTEM=x64" >> $GITHUB_ENV
59
62
60
63
- name : Compile Tools
61
64
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"
65
+ export PATH="$(brew --prefix libtool) /libexec/gnubin:$PATH"
66
+ export PKG_CONFIG_PATH="$(brew --prefix libarchive) /lib/pkgconfig:$(brew --prefix openssl@3) /lib/pkgconfig"
64
67
export PSPDEV=$PWD/pspdev
65
68
export PATH=$PATH:$PSPDEV/bin
66
69
./build-all.sh
0 commit comments