Skip to content

Commit 8cae014

Browse files
committed
re-generate top commons
1 parent bb89944 commit 8cae014

19 files changed

+95
-108
lines changed

.github/copilot-instructions.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copilot Instructions
2+
3+
## Project Overview
4+
5+
This is the xPack Ninja Build project, part of the
6+
xPack Development Tools.
7+
8+
## Folder Structure
9+
10+
- `/build-assets`: Contains the build scripts, patches, etc
11+
- `/website`: Contains the Docusaurus web site
12+
13+
## Language and style
14+
15+
- Use British English spelling and grammar.
16+
- Use a professional tone.
17+
- Prefer folder to directory.

.github/workflows/build-darwin-arm64.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# Automatically generated from npm-packages-helper/templates/*.
44
#
55
# This file is part of the xPack project (http://xpack.github.io).
6-
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
6+
# Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved.
77
#
88
# Permission to use, copy, modify, and/or distribute this software
99
# for any purpose is hereby granted, under the terms of the MIT license.
1010
#
1111
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/MIT.
12+
# be obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

@@ -69,7 +69,7 @@ jobs:
6969
darwin-arm64-build:
7070
name: 'darwin-arm64 ninja-build ${{github.event.inputs.version}} build'
7171
timeout-minutes: 2880 # 2 days
72-
runs-on: [self-hosted, macos, apple]
72+
runs-on: macos-15
7373
env:
7474
XBB_ENVIRONMENT_MACOSX_DEPLOYMENT_TARGET: '11.0'
7575
steps:
@@ -142,14 +142,10 @@ jobs:
142142
tag: 'test'
143143
token: ${{secrets.PUBLISH_TOKEN}}
144144

145-
- name: 'Rename working area'
146-
# For just in case absolute paths remain unprocessed.
147-
run: mv -v build-assets/build build-assets/build-$(date -u +%Y%m%d-%H%M%S)
148-
149145
darwin-arm64-test:
150146
name: 'darwin-arm64 ninja-build ${{github.event.inputs.version}} test'
151-
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
152-
runs-on: macos-14
147+
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
148+
runs-on: macos-15
153149
needs: [darwin-arm64-build]
154150

155151
steps:
@@ -159,7 +155,6 @@ jobs:
159155
sw_vers
160156
ls -lA /Library/Developer/CommandLineTools/SDKs || true
161157
ls -lA /Applications
162-
sudo xcode-select --switch /Applications/Xcode_15.4.app
163158
xcode-select --print-path
164159
xcodebuild -version || true
165160
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables || true

.github/workflows/build-darwin-x64.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# Automatically generated from npm-packages-helper/templates/*.
44
#
55
# This file is part of the xPack project (http://xpack.github.io).
6-
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
6+
# Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved.
77
#
88
# Permission to use, copy, modify, and/or distribute this software
99
# for any purpose is hereby granted, under the terms of the MIT license.
1010
#
1111
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/MIT.
12+
# be obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

@@ -69,7 +69,7 @@ jobs:
6969
darwin-x64-build:
7070
name: 'darwin-x64 ninja-build ${{github.event.inputs.version}} build'
7171
timeout-minutes: 2880 # 2 days
72-
runs-on: [self-hosted, macos, intel]
72+
runs-on: macos-15-intel
7373
env:
7474
XBB_ENVIRONMENT_MACOSX_DEPLOYMENT_TARGET: '11.0'
7575
steps:
@@ -142,14 +142,10 @@ jobs:
142142
tag: 'test'
143143
token: ${{secrets.PUBLISH_TOKEN}}
144144

145-
- name: 'Rename working area'
146-
# For just in case absolute paths remain unprocessed.
147-
run: mv -v build-assets/build build-assets/build-$(date -u +%Y%m%d-%H%M%S)
148-
149145
darwin-x64-test:
150146
name: 'darwin-x64 ninja-build ${{github.event.inputs.version}} test'
151-
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
152-
runs-on: macos-13
147+
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
148+
runs-on: macos-15-intel
153149
needs: [darwin-x64-build]
154150

155151
steps:
@@ -159,7 +155,6 @@ jobs:
159155
sw_vers
160156
ls -lA /Library/Developer/CommandLineTools/SDKs || true
161157
ls -lA /Applications
162-
sudo xcode-select --switch /Applications/Xcode_14.2.app
163158
xcode-select --print-path
164159
xcodebuild -version || true
165160
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables || true

.github/workflows/build-linux-arm64.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# Automatically generated from npm-packages-helper/templates/*.
44
#
55
# This file is part of the xPack project (http://xpack.github.io).
6-
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
6+
# Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved.
77
#
88
# Permission to use, copy, modify, and/or distribute this software
99
# for any purpose is hereby granted, under the terms of the MIT license.
1010
#
1111
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/MIT.
12+
# be obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

@@ -69,7 +69,7 @@ jobs:
6969
linux-arm64-build:
7070
name: 'linux-arm64 ninja-build ${{github.event.inputs.version}} build'
7171
timeout-minutes: 2880 # 2 days
72-
runs-on: [self-hosted, linux, arm64, xbbla, xbblax]
72+
runs-on: ubuntu-24.04-arm
7373
defaults:
7474
run:
7575
shell: bash
@@ -86,11 +86,6 @@ jobs:
8686
ls -lLA
8787
env | sort | grep -E '^[^ \t]+='
8888
89-
- name: 'Clean working area' # Mandatory for self-hosted runners.
90-
run: |
91-
chmod -Rf a+w * || true
92-
rm -rf * .git*
93-
9489
- name: 'Checkout project'
9590
uses: actions/checkout@v1 # v1 for old Git
9691
with:
@@ -138,10 +133,6 @@ jobs:
138133
tag: 'test'
139134
token: ${{secrets.PUBLISH_TOKEN}}
140135

141-
- name: 'Rename working area'
142-
# For just in case absolute paths remain unprocessed.
143-
run: echo mv -v build-assets/build build-assets/build-$(date -u +%Y%m%d-%H%M%S)
144-
145136
linux-arm64-test:
146137
name: 'linux-arm64 ninja-build ${{github.event.inputs.version}} test'
147138
runs-on: ubuntu-24.04-arm

.github/workflows/build-linux-x64.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# Automatically generated from npm-packages-helper/templates/*.
44
#
55
# This file is part of the xPack project (http://xpack.github.io).
6-
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
6+
# Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved.
77
#
88
# Permission to use, copy, modify, and/or distribute this software
99
# for any purpose is hereby granted, under the terms of the MIT license.
1010
#
1111
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/MIT.
12+
# be obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

@@ -69,7 +69,7 @@ jobs:
6969
linux-x64-build:
7070
name: 'linux-x64 ninja-build ${{github.event.inputs.version}} build'
7171
timeout-minutes: 2880 # 2 days
72-
runs-on: [self-hosted, linux, x64, xbblix]
72+
runs-on: ubuntu-24.04
7373
defaults:
7474
run:
7575
shell: bash
@@ -86,11 +86,6 @@ jobs:
8686
ls -lLA
8787
env | sort | grep -E '^[^ \t]+='
8888
89-
- name: 'Clean working area' # Mandatory for self-hosted runners.
90-
run: |
91-
chmod -Rf a+w * || true
92-
rm -rf * .git*
93-
9489
- name: 'Checkout project'
9590
uses: actions/checkout@v1 # v1 for old Git
9691
with:
@@ -138,10 +133,6 @@ jobs:
138133
tag: 'test'
139134
token: ${{secrets.PUBLISH_TOKEN}}
140135

141-
- name: 'Rename working area'
142-
# For just in case absolute paths remain unprocessed.
143-
run: echo mv -v build-assets/build build-assets/build-$(date -u +%Y%m%d-%H%M%S)
144-
145136
linux-x64-test:
146137
name: 'linux-x64 ninja-build ${{github.event.inputs.version}} test'
147138
runs-on: ubuntu-24.04

.github/workflows/build-win32-x64.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# Automatically generated from npm-packages-helper/templates/*.
44
#
55
# This file is part of the xPack project (http://xpack.github.io).
6-
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
6+
# Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved.
77
#
88
# Permission to use, copy, modify, and/or distribute this software
99
# for any purpose is hereby granted, under the terms of the MIT license.
1010
#
1111
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/MIT.
12+
# be obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

@@ -69,7 +69,7 @@ jobs:
6969
win32-x64-build:
7070
name: 'win32-x64 ninja-build ${{github.event.inputs.version}} build'
7171
timeout-minutes: 2880 # 2 days
72-
runs-on: [self-hosted, linux, x64, xbbliw]
72+
runs-on: ubuntu-24.04
7373
defaults:
7474
run:
7575
shell: bash
@@ -86,11 +86,6 @@ jobs:
8686
ls -lLA
8787
env | sort | grep -E '^[^ \t]+='
8888
89-
- name: 'Clean working area' # Mandatory for self-hosted runners.
90-
run: |
91-
chmod -Rf a+w * || true
92-
rm -rf * .git*
93-
9489
- name: 'Checkout project'
9590
uses: actions/checkout@v1 # v1 for old Git
9691
with:
@@ -138,10 +133,6 @@ jobs:
138133
tag: 'test'
139134
token: ${{secrets.PUBLISH_TOKEN}}
140135

141-
- name: 'Rename working area'
142-
# For just in case absolute paths remain unprocessed.
143-
run: echo mv -v build-assets/build build-assets/build-$(date -u +%Y%m%d-%H%M%S)
144-
145136
win32-x64-test:
146137
name: 'win32-x64 ninja-build ${{github.event.inputs.version}} test'
147138
runs-on: windows-2022

.github/workflows/publish-github-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# Automatically generated from npm-packages-helper/templates/*.
44
#
55
# This file is part of the xPack project (http://xpack.github.io).
6-
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
6+
# Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved.
77
#
88
# Permission to use, copy, modify, and/or distribute this software
99
# for any purpose is hereby granted, under the terms of the MIT license.
1010
#
1111
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/MIT.
12+
# be obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

.github/workflows/publish-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# Automatically generated from npm-packages-helper/templates/*.
44
#
55
# This file is part of the xPack project (http://xpack.github.io).
6-
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
6+
# Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved.
77
#
88
# Permission to use, copy, modify, and/or distribute this software
99
# for any purpose is hereby granted, under the terms of the MIT license.
1010
#
1111
# If a copy of the license was not distributed with this file, it can
12-
# be obtained from https://opensource.org/licenses/MIT.
12+
# be obtained from https://opensource.org/licenses/mit.
1313
#
1414
# -----------------------------------------------------------------------------
1515

@@ -87,7 +87,7 @@ jobs:
8787
bodyFile: '.github/workflows/body-github-release.md'
8888
commit: 'xpack-development'
8989
draft: true
90-
name: 'xPack Ninja Build v${{github.event.inputs.version}}'
90+
name: 'xPack xPack Ninja Build v${{github.event.inputs.version}}'
9191
omitBodyDuringUpdate: true
9292
omitDraftDuringUpdate: true
9393
omitNameDuringUpdate: true

.github/workflows/test-docker-linux-arm.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
# Automatically generated from npm-packages-helper/templates/*.
55
#
66
# This file is part of the xPack project (http://xpack.github.io).
7-
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
7+
# Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved.
88
#
99
# Permission to use, copy, modify, and/or distribute this software
1010
# for any purpose is hereby granted, under the terms of the MIT license.
1111
#
1212
# If a copy of the license was not distributed with this file, it can
13-
# be obtained from https://opensource.org/licenses/MIT.
13+
# be obtained from https://opensource.org/licenses/mit.
1414
#
1515
# -----------------------------------------------------------------------------
1616

@@ -172,6 +172,12 @@ jobs:
172172
fetch-depth: 3
173173

174174
# https://hub.docker.com/_/debian
175+
- name: 'Debian 13 arm64'
176+
uses: docker://debian:13
177+
with:
178+
entrypoint: /bin/bash
179+
args: /github/workspace/build-assets/scripts/test.sh --image debian:13 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
180+
175181
- name: 'Debian 12 arm64'
176182
uses: docker://debian:12
177183
with:
@@ -184,12 +190,6 @@ jobs:
184190
entrypoint: /bin/bash
185191
args: /github/workspace/build-assets/scripts/test.sh --image debian:11 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
186192

187-
- name: 'Debian 10 arm64'
188-
uses: docker://debian:10
189-
with:
190-
entrypoint: /bin/bash
191-
args: /github/workspace/build-assets/scripts/test.sh --image debian:10 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
192-
193193
# https://hub.docker.com/r/redhat/ubi8
194194
# For `-static` to work, explicit static packages must be present.
195195
redhat-arm64:

.github/workflows/test-docker-linux-intel.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
# Automatically generated from npm-packages-helper/templates/*.
55
#
66
# This file is part of the xPack project (http://xpack.github.io).
7-
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
7+
# Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved.
88
#
99
# Permission to use, copy, modify, and/or distribute this software
1010
# for any purpose is hereby granted, under the terms of the MIT license.
1111
#
1212
# If a copy of the license was not distributed with this file, it can
13-
# be obtained from https://opensource.org/licenses/MIT.
13+
# be obtained from https://opensource.org/licenses/mit.
1414
#
1515
# -----------------------------------------------------------------------------
1616

@@ -156,6 +156,13 @@ jobs:
156156
ref: ${{github.event.inputs.helper-git-ref}}
157157
fetch-depth: 3
158158

159+
# https://hub.docker.com/_/debian
160+
- name: 'Debian 13 x64'
161+
uses: docker://debian:13
162+
with:
163+
entrypoint: /bin/bash
164+
args: /github/workspace/build-assets/scripts/test.sh --image debian:13 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
165+
159166
- name: 'Debian 12 x64'
160167
uses: docker://debian:12
161168
with:
@@ -168,12 +175,6 @@ jobs:
168175
entrypoint: /bin/bash
169176
args: /github/workspace/build-assets/scripts/test.sh --image debian:11 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
170177

171-
- name: 'Debian 10 x64'
172-
uses: docker://debian:10
173-
with:
174-
entrypoint: /bin/bash
175-
args: /github/workspace/build-assets/scripts/test.sh --image debian:10 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
176-
177178
# https://hub.docker.com/r/redhat/ubi8
178179
# For `-static` to work, explicit static packages must be present.
179180
redhat-x64:

0 commit comments

Comments
 (0)