Skip to content

Commit 82886bf

Browse files
committed
Merge branch 'xpack-development' into xpack
2 parents c35bc6e + 7db7324 commit 82886bf

47 files changed

Lines changed: 2499 additions & 1343 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.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 GNU bison** 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: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -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

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

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -153,6 +173,7 @@ jobs:
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

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

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,30 +79,37 @@ 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
89-
- name: 'Checkout project'
90-
uses: actions/checkout@v1 # v1 for old Git
91-
with:
92-
fetch-depth: 3
93-
9488
- name: 'Install xpm'
9589
timeout-minutes: 1440
9690
run: |
9791
npm install --location=global xpm@${{github.event.inputs.xpm_version}}
98-
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+
99+
- name: 'Checkout project'
100+
uses: actions/checkout@v1 # v1 for old Git
101+
with:
102+
fetch-depth: 3
99103

100104
- name: 'Build linux-arm64 binaries'
101105
timeout-minutes: 1440
102106
run: |
103107
xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
104108
xpm run docker-prepare --config linux-arm64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
105109
xpm run docker-build --config linux-arm64 -C build-assets
110+
111+
- name: 'Show results'
112+
run: |
106113
ls -l build-assets/build/linux-arm64/application
107114
ls -l build-assets/build/linux-arm64/deploy
108115
@@ -143,19 +150,20 @@ jobs:
143150
run: |
144151
uname -a
145152
lsb_release -sd
153+
df -BG -H /
146154
echo "whoami: $(whoami)"
147155
echo "pwd: $(pwd)"
148156
ls -lLA
149157
env | sort | grep -E '^[^ \t]+='
150158
151159
# https://github.com/actions/checkout
152160
- name: 'Checkout project'
153-
uses: actions/checkout@v4
161+
uses: actions/checkout@v5
154162
with:
155163
fetch-depth: 3
156164

157165
- name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}'
158-
uses: actions/checkout@v4
166+
uses: actions/checkout@v5
159167
with:
160168
repository: xpack-dev-tools/xbb-helper-xpack
161169
path: build-assets/xpacks/@xpack-dev-tools/xbb-helper

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

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,30 +79,37 @@ 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
89-
- name: 'Checkout project'
90-
uses: actions/checkout@v1 # v1 for old Git
91-
with:
92-
fetch-depth: 3
93-
9488
- name: 'Install xpm'
9589
timeout-minutes: 1440
9690
run: |
9791
npm install --location=global xpm@${{github.event.inputs.xpm_version}}
98-
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+
99+
- name: 'Checkout project'
100+
uses: actions/checkout@v1 # v1 for old Git
101+
with:
102+
fetch-depth: 3
99103

100104
- name: 'Build linux-x64 binaries'
101105
timeout-minutes: 1440
102106
run: |
103107
xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
104108
xpm run docker-prepare --config linux-x64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
105109
xpm run docker-build --config linux-x64 -C build-assets
110+
111+
- name: 'Show results'
112+
run: |
106113
ls -l build-assets/build/linux-x64/application
107114
ls -l build-assets/build/linux-x64/deploy
108115
@@ -143,19 +150,20 @@ jobs:
143150
run: |
144151
uname -a
145152
lsb_release -sd
153+
df -BG -H /
146154
echo "whoami: $(whoami)"
147155
echo "pwd: $(pwd)"
148156
ls -lLA
149157
env | sort | grep -E '^[^ \t]+='
150158
151159
# https://github.com/actions/checkout
152160
- name: 'Checkout project'
153-
uses: actions/checkout@v4
161+
uses: actions/checkout@v5
154162
with:
155163
fetch-depth: 3
156164

157165
- name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}'
158-
uses: actions/checkout@v4
166+
uses: actions/checkout@v5
159167
with:
160168
repository: xpack-dev-tools/xbb-helper-xpack
161169
path: build-assets/xpacks/@xpack-dev-tools/xbb-helper

0 commit comments

Comments
 (0)