@@ -69,14 +69,15 @@ jobs:
6969 darwin-arm64-build :
7070 name : ' darwin-arm64 bison ${{github.event.inputs.version}} build'
7171 timeout-minutes : 2880 # 2 days
72- runs-on : macos-14
72+ runs-on : macos-15
7373 env :
7474 XBB_ENVIRONMENT_MACOSX_DEPLOYMENT_TARGET : ' 11.0'
7575 steps :
7676 - name : ' Show environment'
7777 run : |
7878 uname -a
7979 sw_vers
80+ df -gH /
8081 ls -lA /Library/Developer/CommandLineTools/SDKs || true
8182 ls -lA /Applications
8283 xcode-select --print-path
@@ -85,11 +86,33 @@ jobs:
8586 ls -l /Library/Developer/CommandLineTools/usr/include || true
8687 echo "pwd: $(pwd)"
8788 echo "whoami: $(whoami)"
88- echo "node: $(node --version)"
89- echo "npm: $(npm --version)"
9089 ls -lLA
9190 env | sort | grep -E '^[^ \t]+='
9291
92+ - name : ' Remove Homebrew'
93+ uses : xpack/remove-homebrew-action@v1
94+
95+ - name : ' Install Python packages'
96+ run : |
97+ pip3 install distlib
98+
99+ - name : ' Setup Node.js'
100+ uses : actions/setup-node@v4
101+ with :
102+ node-version : ' 20'
103+ check-latest : true
104+
105+ - name : ' Install xpm'
106+ timeout-minutes : 1440
107+ run : |
108+ npm install --location=global xpm@${{github.event.inputs.xpm_version}}
109+
110+ - name : ' Verify Node.js, npm and xpm'
111+ run : |
112+ echo "$(which node): $(node --version)"
113+ echo "$(which npm): $(npm --version)"
114+ echo "$(which xpm): $(xpm --version)"
115+
93116 - name : ' Clean working area' # Mandatory for self-hosted runners.
94117 run : |
95118 chmod -Rf a+w * || true
@@ -100,18 +123,15 @@ jobs:
100123 with :
101124 fetch-depth : 3
102125
103- - name : ' Install xpm'
104- timeout-minutes : 1440
105- run : |
106- npm install --location=global xpm@${{github.event.inputs.xpm_version}}
107- xpm --version
108-
109126 - name : ' Build darwin-arm64 binaries'
110127 timeout-minutes : 1440
111128 run : |
112129 xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
113130 xpm install --config darwin-arm64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
114131 xpm run build --config darwin-arm64 -C build-assets
132+
133+ - name : ' Show results'
134+ run : |
115135 ls -l build-assets/build/darwin-arm64/application
116136 ls -l build-assets/build/darwin-arm64/deploy
117137
@@ -144,15 +164,16 @@ jobs:
144164
145165 darwin-arm64-test :
146166 name : ' darwin-arm64 bison ${{github.event.inputs.version}} test'
147- # https://github.com/actions/runner-images/blob/main/images/macos/macos-14 -Readme.md
148- runs-on : macos-14
167+ # https://github.com/actions/runner-images/blob/main/images/macos/macos-15 -Readme.md
168+ runs-on : macos-15
149169 needs : [darwin-arm64-build]
150170
151171 steps :
152172 - name : ' Show environment'
153173 run : |
154174 uname -a
155175 sw_vers
176+ df -gH /
156177 ls -lA /Library/Developer/CommandLineTools/SDKs || true
157178 ls -lA /Applications
158179 xcode-select --print-path
@@ -164,14 +185,17 @@ jobs:
164185 ls -lLA
165186 env | sort | grep -E '^[^ \t]+='
166187
188+ - name : ' Remove Homebrew'
189+ uses : xpack/remove-homebrew-action@v1
190+
167191 # https://github.com/actions/checkout
168192 - name : ' Checkout project'
169- uses : actions/checkout@v4
193+ uses : actions/checkout@v5
170194 with :
171195 fetch-depth : 3
172196
173197 - name : ' Checkout helper ${{github.event.inputs.helper-git-ref}}'
174- uses : actions/checkout@v4
198+ uses : actions/checkout@v5
175199 with :
176200 repository : xpack-dev-tools/xbb-helper-xpack
177201 path : build-assets/xpacks/@xpack-dev-tools/xbb-helper
0 commit comments