Skip to content

Commit 536b180

Browse files
committed
re-generate commons
1 parent 5a1c00f commit 536b180

18 files changed

Lines changed: 291 additions & 217 deletions

.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 flex** project, part of the
6+
xPack Development Tools.
7+
8+
## Folder Structure
9+
10+
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: 39 additions & 15 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

@@ -77,6 +77,7 @@ jobs:
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
@@ -148,18 +168,19 @@ jobs:
148168

149169
darwin-arm64-test:
150170
name: 'darwin-arm64 flex ${{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
171+
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
172+
runs-on: macos-15
153173
needs: [darwin-arm64-build]
154174

155175
steps:
156176
- name: 'Show environment'
157177
run: |
158178
uname -a
159179
sw_vers
180+
df -gH /
160181
ls -lA /Library/Developer/CommandLineTools/SDKs || true
161182
ls -lA /Applications
162-
sudo xcode-select --switch /Applications/Xcode_15.4.app
183+
sudo xcode-select --switch /Applications/Xcode_16.4.app
163184
xcode-select --print-path
164185
xcodebuild -version || true
165186
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables || true
@@ -169,14 +190,17 @@ jobs:
169190
ls -lLA
170191
env | sort | grep -E '^[^ \t]+='
171192
193+
- name: 'Remove Homebrew'
194+
uses: xpack/remove-homebrew-action@v1
195+
172196
# https://github.com/actions/checkout
173197
- name: 'Checkout project'
174-
uses: actions/checkout@v4
198+
uses: actions/checkout@v5
175199
with:
176200
fetch-depth: 3
177201

178202
- name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}'
179-
uses: actions/checkout@v4
203+
uses: actions/checkout@v5
180204
with:
181205
repository: xpack-dev-tools/xbb-helper-xpack
182206
path: build-assets/xpacks/@xpack-dev-tools/xbb-helper

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

Lines changed: 39 additions & 15 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

@@ -77,6 +77,7 @@ jobs:
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-x64 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-x64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
114131
xpm run build --config darwin-x64 -C build-assets
132+
133+
- name: 'Show results'
134+
run: |
115135
ls -l build-assets/build/darwin-x64/application
116136
ls -l build-assets/build/darwin-x64/deploy
117137
@@ -148,18 +168,19 @@ jobs:
148168

149169
darwin-x64-test:
150170
name: 'darwin-x64 flex ${{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
171+
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
172+
runs-on: macos-15-intel
153173
needs: [darwin-x64-build]
154174

155175
steps:
156176
- name: 'Show environment'
157177
run: |
158178
uname -a
159179
sw_vers
180+
df -gH /
160181
ls -lA /Library/Developer/CommandLineTools/SDKs || true
161182
ls -lA /Applications
162-
sudo xcode-select --switch /Applications/Xcode_14.2.app
183+
sudo xcode-select --switch /Applications/Xcode_16.4.app
163184
xcode-select --print-path
164185
xcodebuild -version || true
165186
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables || true
@@ -169,14 +190,17 @@ jobs:
169190
ls -lLA
170191
env | sort | grep -E '^[^ \t]+='
171192
193+
- name: 'Remove Homebrew'
194+
uses: xpack/remove-homebrew-action@v1
195+
172196
# https://github.com/actions/checkout
173197
- name: 'Checkout project'
174-
uses: actions/checkout@v4
198+
uses: actions/checkout@v5
175199
with:
176200
fetch-depth: 3
177201

178202
- name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}'
179-
uses: actions/checkout@v4
203+
uses: actions/checkout@v5
180204
with:
181205
repository: xpack-dev-tools/xbb-helper-xpack
182206
path: build-assets/xpacks/@xpack-dev-tools/xbb-helper

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

Lines changed: 20 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

@@ -79,13 +79,23 @@ jobs:
7979
run: |
8080
uname -a
8181
lsb_release -sd
82+
df -BG -H /
8283
echo "whoami: $(whoami)"
8384
echo "pwd: $(pwd)"
84-
echo "node: $(node --version)"
85-
echo "npm: $(npm --version)"
8685
ls -lLA
8786
env | sort | grep -E '^[^ \t]+='
8887
88+
- name: 'Install xpm'
89+
timeout-minutes: 1440
90+
run: |
91+
npm install --location=global xpm@${{github.event.inputs.xpm_version}}
92+
93+
- name: 'Verify Node.js, npm and xpm'
94+
run: |
95+
echo "$(which node): $(node --version)"
96+
echo "$(which npm): $(npm --version)"
97+
echo "$(which xpm): $(xpm --version)"
98+
8999
- name: 'Clean working area' # Mandatory for self-hosted runners.
90100
run: |
91101
chmod -Rf a+w * || true
@@ -96,18 +106,15 @@ jobs:
96106
with:
97107
fetch-depth: 3
98108

99-
- name: 'Install xpm'
100-
timeout-minutes: 1440
101-
run: |
102-
npm install --location=global xpm@${{github.event.inputs.xpm_version}}
103-
xpm --version
104-
105109
- name: 'Build linux-arm64 binaries'
106110
timeout-minutes: 1440
107111
run: |
108112
xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
109113
xpm run docker-prepare --config linux-arm64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
110114
xpm run docker-build --config linux-arm64 -C build-assets
115+
116+
- name: 'Show results'
117+
run: |
111118
ls -l build-assets/build/linux-arm64/application
112119
ls -l build-assets/build/linux-arm64/deploy
113120
@@ -152,19 +159,20 @@ jobs:
152159
run: |
153160
uname -a
154161
lsb_release -sd
162+
df -BG -H /
155163
echo "whoami: $(whoami)"
156164
echo "pwd: $(pwd)"
157165
ls -lLA
158166
env | sort | grep -E '^[^ \t]+='
159167
160168
# https://github.com/actions/checkout
161169
- name: 'Checkout project'
162-
uses: actions/checkout@v4
170+
uses: actions/checkout@v5
163171
with:
164172
fetch-depth: 3
165173

166174
- name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}'
167-
uses: actions/checkout@v4
175+
uses: actions/checkout@v5
168176
with:
169177
repository: xpack-dev-tools/xbb-helper-xpack
170178
path: build-assets/xpacks/@xpack-dev-tools/xbb-helper

0 commit comments

Comments
 (0)