@@ -105,3 +105,179 @@ jobs:
105105 # Run the test from the short path
106106 run : bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
107107
108+
109+
110+
111+
112+ darwin-x64-test :
113+ name : ' darwin-x64 riscv-none-elf-gcc ${{github.event.inputs.version}} test'
114+ # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
115+ runs-on : macos-15-intel
116+
117+ steps :
118+ - name : ' Show environment'
119+ run : |
120+ uname -a
121+ sw_vers
122+ ls -lA /Library/Developer/CommandLineTools/SDKs || true
123+ ls -lA /Applications
124+ sudo xcode-select --switch /Applications/Xcode_16.4.app
125+ xcode-select --print-path
126+ xcodebuild -version || true
127+ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables || true
128+ clang++ -v
129+ echo "whoami: $(whoami)"
130+ echo "pwd: $(pwd)"
131+ ls -lLA
132+ env | sort | grep -E '^[^ \t]+='
133+
134+ - name : ' Remove Homebrew'
135+ uses : xpack/remove-homebrew-action@v1
136+ - name : ' Clean working area' # Mandatory for self-hosted runners.
137+ run : |
138+ chmod -Rf a+w * || true
139+ rm -rf * .git*
140+
141+ # https://github.com/actions/checkout
142+ - name : ' Checkout project'
143+ uses : actions/checkout@v5
144+ with :
145+ fetch-depth : 3
146+
147+ - name : ' Checkout helper ${{github.event.inputs.helper-git-ref}}'
148+ uses : actions/checkout@v5
149+ with :
150+ repository : xpack-dev-tools/xbb-helper-xpack
151+ path : build-assets/xpacks/@xpack-dev-tools/xbb-helper
152+ ref : ${{github.event.inputs.helper-git-ref}}
153+ fetch-depth : 3
154+
155+ - name : ' Run ${{github.event.inputs.version}} native test'
156+ run : bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
157+
158+
159+
160+
161+
162+ darwin-arm64-test :
163+ name : ' darwin-arm64 riscv-none-elf-gcc ${{github.event.inputs.version}} test'
164+ # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
165+ runs-on : macos-15
166+
167+ steps :
168+ - name : ' Show environment'
169+ run : |
170+ uname -a
171+ sw_vers
172+ ls -lA /Library/Developer/CommandLineTools/SDKs || true
173+ ls -lA /Applications
174+ sudo xcode-select --switch /Applications/Xcode_16.4.app
175+ xcode-select --print-path
176+ xcodebuild -version || true
177+ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables || true
178+ clang++ -v
179+ echo "whoami: $(whoami)"
180+ echo "pwd: $(pwd)"
181+ ls -lLA
182+ env | sort | grep -E '^[^ \t]+='
183+
184+ - name : ' Remove Homebrew'
185+ uses : xpack/remove-homebrew-action@v1
186+
187+ - name : ' Clean working area' # Mandatory for self-hosted runners.
188+ run : |
189+ chmod -Rf a+w * || true
190+ rm -rf * .git*
191+
192+ # https://github.com/actions/checkout
193+ - name : ' Checkout project'
194+ uses : actions/checkout@v5
195+ with :
196+ fetch-depth : 3
197+
198+ - name : ' Checkout helper ${{github.event.inputs.helper-git-ref}}'
199+ uses : actions/checkout@v5
200+ with :
201+ repository : xpack-dev-tools/xbb-helper-xpack
202+ path : build-assets/xpacks/@xpack-dev-tools/xbb-helper
203+ ref : ${{github.event.inputs.helper-git-ref}}
204+ fetch-depth : 3
205+
206+ - name : ' Run ${{github.event.inputs.version}} native test'
207+ run : bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
208+
209+
210+
211+
212+
213+ linux-x64-test :
214+ name : ' linux-x64 riscv-none-elf-gcc ${{github.event.inputs.version}} test'
215+ runs-on : ubuntu-24.04
216+
217+ steps :
218+ - name : ' Show environment'
219+ run : |
220+ uname -a
221+ lsb_release -sd
222+ echo "whoami: $(whoami)"
223+ echo "pwd: $(pwd)"
224+ ls -lLA
225+ env | sort | grep -E '^[^ \t]+='
226+
227+ - name : ' Checkout project'
228+ uses : actions/checkout@v5
229+ with :
230+ fetch-depth : 3
231+
232+ - name : ' Checkout helper ${{github.event.inputs.helper-git-ref}}'
233+ uses : actions/checkout@v5
234+ with :
235+ repository : xpack-dev-tools/xbb-helper-xpack
236+ path : build-assets/xpacks/@xpack-dev-tools/xbb-helper
237+ ref : ${{github.event.inputs.helper-git-ref}}
238+ fetch-depth : 3
239+
240+ - name : ' Run ${{github.event.inputs.version}} native test'
241+ run : bash build-assets/scripts/test.sh --image github-actions-ubuntu-latest --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
242+
243+
244+
245+
246+
247+ linux-arm64-test :
248+ name : ' linux-arm64 riscv-none-elf-gcc ${{github.event.inputs.version}} test'
249+ # runs-on: [self-hosted, linux, arm64, xbbla]
250+ runs-on : ubuntu-24.04-arm
251+
252+ steps :
253+ - name : ' Show environment'
254+ run : |
255+ uname -a
256+ lsb_release -sd
257+ echo "whoami: $(whoami)"
258+ echo "pwd: $(pwd)"
259+ ls -lLA
260+ env | sort | grep -E '^[^ \t]+='
261+
262+ - name : ' Checkout project'
263+ uses : actions/checkout@v5
264+ with :
265+ fetch-depth : 3
266+
267+ - name : ' Checkout helper ${{github.event.inputs.helper-git-ref}}'
268+ uses : actions/checkout@v5
269+ with :
270+ repository : xpack-dev-tools/xbb-helper-xpack
271+ path : build-assets/xpacks/@xpack-dev-tools/xbb-helper
272+ ref : ${{github.event.inputs.helper-git-ref}}
273+ fetch-depth : 3
274+
275+ - name : ' Run ${{github.event.inputs.version}} native test'
276+ run : bash build-assets/scripts/test.sh --image github-actions-ubuntu-latest --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
277+
278+
279+
280+
281+
282+
283+ # -----------------------------------------------------------------------------
0 commit comments