Skip to content

Commit 4766586

Browse files
committed
re-generate descriptive & permalink names
1 parent 03aee28 commit 4766586

File tree

9 files changed

+62
-192
lines changed

9 files changed

+62
-192
lines changed

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

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
# -----------------------------------------------------------------------------
2828

2929

30-
31-
3230
name: 'Build xPack GNU Arm Embedded GCC darwin-arm64'
3331

3432
on:
@@ -68,18 +66,12 @@ on:
6866
default: 'xpack-development'
6967

7068
jobs:
71-
72-
73-
74-
75-
76-
7769
darwin-arm64-build:
7870
name: 'darwin-arm64 arm-none-eabi-gcc ${{github.event.inputs.version}} build'
7971
timeout-minutes: 2880 # 2 days
80-
8172
runs-on: [self-hosted, macos, apple]
82-
73+
env:
74+
XBB_ENVIRONMENT_MACOSX_DEPLOYMENT_TARGET: '11.0'
8375
steps:
8476
- name: 'Show environment'
8577
run: |
@@ -114,15 +106,14 @@ jobs:
114106
npm install --location=global xpm@${{github.event.inputs.xpm_version}}
115107
xpm --version
116108
117-
- name: 'Install project dependencies'
118-
timeout-minutes: 1440
119-
run: xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
120-
121109
- name: 'Build darwin-arm64 binaries'
122110
timeout-minutes: 1440
123111
run: |
112+
xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
124113
xpm install --config darwin-arm64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
125114
xpm run build --config darwin-arm64 -C build-assets
115+
ls -l build-assets/build/darwin-arm64/application
116+
ls -l build-assets/build/darwin-arm64/deploy
126117
127118
- name: Upload platform artefacts
128119
uses: actions/upload-artifact@v4
@@ -194,6 +185,3 @@ jobs:
194185

195186
- name: 'Run ${{github.event.inputs.version}} native test'
196187
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url pre-release
197-
198-
199-

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

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
# -----------------------------------------------------------------------------
2828

2929

30-
31-
3230
name: 'Build xPack GNU Arm Embedded GCC darwin-x64'
3331

3432
on:
@@ -68,16 +66,12 @@ on:
6866
default: 'xpack-development'
6967

7068
jobs:
71-
72-
73-
74-
7569
darwin-x64-build:
7670
name: 'darwin-x64 arm-none-eabi-gcc ${{github.event.inputs.version}} build'
7771
timeout-minutes: 2880 # 2 days
78-
7972
runs-on: [self-hosted, macos, intel]
80-
73+
env:
74+
XBB_ENVIRONMENT_MACOSX_DEPLOYMENT_TARGET: '11.0'
8175
steps:
8276
- name: 'Show environment'
8377
run: |
@@ -112,15 +106,14 @@ jobs:
112106
npm install --location=global xpm@${{github.event.inputs.xpm_version}}
113107
xpm --version
114108
115-
- name: 'Install project dependencies'
116-
timeout-minutes: 1440
117-
run: xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
118-
119109
- name: 'Build darwin-x64 binaries'
120110
timeout-minutes: 1440
121111
run: |
112+
xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
122113
xpm install --config darwin-x64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
123114
xpm run build --config darwin-x64 -C build-assets
115+
ls -l build-assets/build/darwin-x64/application
116+
ls -l build-assets/build/darwin-x64/deploy
124117
125118
- name: Upload platform artefacts
126119
uses: actions/upload-artifact@v4
@@ -192,6 +185,3 @@ jobs:
192185

193186
- name: 'Run ${{github.event.inputs.version}} native test'
194187
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url pre-release
195-
196-
197-

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

Lines changed: 9 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
# -----------------------------------------------------------------------------
2828

2929

30-
31-
3230
name: 'Build xPack GNU Arm Embedded GCC linux-arm64'
3331

3432
on:
@@ -68,22 +66,10 @@ on:
6866
default: 'xpack-development'
6967

7068
jobs:
71-
72-
73-
74-
75-
76-
77-
78-
79-
80-
8169
linux-arm64-build:
8270
name: 'linux-arm64 arm-none-eabi-gcc ${{github.event.inputs.version}} build'
8371
timeout-minutes: 2880 # 2 days
8472
runs-on: [self-hosted, linux, arm64, xbbla, xbblax]
85-
container:
86-
image: ilegeul/debian:arm64v8-10-xbb-v6.0.0
8773
defaults:
8874
run:
8975
shell: bash
@@ -116,37 +102,14 @@ jobs:
116102
npm install --location=global xpm@${{github.event.inputs.xpm_version}}
117103
xpm --version
118104
119-
- name: 'Install project dependencies'
120-
timeout-minutes: 1440
121-
run: xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
122-
123105
- name: 'Build linux-arm64 binaries'
124106
timeout-minutes: 1440
125107
run: |
126-
xpm install --config linux-arm64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
127-
xpm run build --config linux-arm64 -C build-assets
128-
129-
linux-arm64-upload:
130-
name: 'linux-arm64 arm-none-eabi-gcc ${{github.event.inputs.version}} upload'
131-
timeout-minutes: 2880 # 2 days
132-
runs-on: [self-hosted, linux, arm64, xbbla, xbblax]
133-
container:
134-
defaults:
135-
run:
136-
shell: bash
137-
needs: [linux-arm64-build]
138-
139-
steps:
140-
- name: 'Show environment'
141-
run: |
142-
uname -a
143-
lsb_release -sd
144-
echo "whoami: $(whoami)"
145-
echo "pwd: $(pwd)"
146-
echo "node: $(node --version)"
147-
echo "npm: $(npm --version)"
148-
ls -lLA
149-
env | sort | grep -E '^[^ \t]+='
108+
xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
109+
xpm run docker-prepare --config linux-arm64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
110+
xpm run docker-build --config linux-arm64 -C build-assets
111+
ls -l build-assets/build/linux-arm64/application
112+
ls -l build-assets/build/linux-arm64/deploy
150113
151114
- name: Upload platform artefacts
152115
uses: actions/upload-artifact@v4
@@ -181,8 +144,8 @@ jobs:
181144

182145
linux-arm64-test:
183146
name: 'linux-arm64 arm-none-eabi-gcc ${{github.event.inputs.version}} test'
184-
runs-on: [self-hosted, linux, arm64, xbbla, xbblax]
185-
needs: [linux-arm64-upload]
147+
runs-on: ubuntu-24.04-arm
148+
needs: [linux-arm64-build]
186149

187150
steps:
188151
- name: 'Show environment'
@@ -194,11 +157,6 @@ jobs:
194157
ls -lLA
195158
env | sort | grep -E '^[^ \t]+='
196159
197-
- name: 'Clean working area' # Mandatory for self-hosted runners.
198-
run: |
199-
chmod -Rf a+w * || true
200-
rm -rf * .git*
201-
202160
# https://github.com/actions/checkout
203161
- name: 'Checkout project'
204162
uses: actions/checkout@v4
@@ -213,11 +171,5 @@ jobs:
213171
ref: ${{github.event.inputs.helper-git-ref}}
214172
fetch-depth: 3
215173

216-
- name: 'Run ${{github.event.inputs.version}} docker test'
217-
uses: docker://node:lts-slim # Currently based on debian:12-slim
218-
with:
219-
entrypoint: /bin/bash
220-
args: /github/workspace/build-assets/scripts/test.sh --image debian --version ${{github.event.inputs.version}} --base-url pre-release
221-
222-
223-
174+
- name: 'Run ${{github.event.inputs.version}} native test'
175+
run: bash build-assets/scripts/test.sh --image github-actions-ubuntu-latest --version ${{github.event.inputs.version}} --base-url pre-release

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

Lines changed: 9 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
# -----------------------------------------------------------------------------
2828

2929

30-
31-
3230
name: 'Build xPack GNU Arm Embedded GCC linux-x64'
3331

3432
on:
@@ -68,20 +66,10 @@ on:
6866
default: 'xpack-development'
6967

7068
jobs:
71-
72-
73-
74-
75-
76-
77-
78-
7969
linux-x64-build:
8070
name: 'linux-x64 arm-none-eabi-gcc ${{github.event.inputs.version}} build'
81-
timeout-minutes: 5760 # 4 days
71+
timeout-minutes: 2880 # 2 days
8272
runs-on: [self-hosted, linux, x64, xbblix]
83-
container:
84-
image: ilegeul/debian:amd64-10-xbb-v6.0.0
8573
defaults:
8674
run:
8775
shell: bash
@@ -114,40 +102,20 @@ jobs:
114102
npm install --location=global xpm@${{github.event.inputs.xpm_version}}
115103
xpm --version
116104
117-
- name: 'Install project dependencies'
118-
timeout-minutes: 1440
119-
run: xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
120-
121105
- name: 'Build linux-x64 binaries'
122106
timeout-minutes: 1440
123107
run: |
124-
xpm install --config linux-x64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
125-
xpm run build --config linux-x64 -C build-assets
126-
127-
linux-x64-upload:
128-
name: 'linux-x64 arm-none-eabi-gcc ${{github.event.inputs.version}} upload'
129-
timeout-minutes: 5760 # 4 days
130-
runs-on: [self-hosted, linux, x64, xbblix]
131-
defaults:
132-
run:
133-
shell: bash
134-
needs: [linux-x64-build]
135-
136-
steps:
137-
- name: 'Show environment'
138-
run: |
139-
uname -a
140-
lsb_release -sd
141-
echo "whoami: $(whoami)"
142-
echo "pwd: $(pwd)"
143-
ls -lLA
144-
env | sort | grep -E '^[^ \t]+='
108+
xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
109+
xpm run docker-prepare --config linux-x64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
110+
xpm run docker-build --config linux-x64 -C build-assets
111+
ls -l build-assets/build/linux-x64/application
112+
ls -l build-assets/build/linux-x64/deploy
145113
146114
- name: Upload platform artefacts
147115
uses: actions/upload-artifact@v4
148116
with:
149117
name: deploy-linux-x64
150-
path: ${{github.workspace}}/build/linux-x64/deploy/*
118+
path: ${{github.workspace}}/build-assets/build/linux-x64/deploy/*
151119
overwrite: true
152120

153121
- name: 'Publish pre-release'
@@ -177,7 +145,7 @@ jobs:
177145
linux-x64-test:
178146
name: 'linux-x64 arm-none-eabi-gcc ${{github.event.inputs.version}} test'
179147
runs-on: ubuntu-24.04
180-
needs: [linux-x64-upload]
148+
needs: [linux-x64-build]
181149

182150
steps:
183151
- name: 'Show environment'
@@ -189,6 +157,7 @@ jobs:
189157
ls -lLA
190158
env | sort | grep -E '^[^ \t]+='
191159
160+
# https://github.com/actions/checkout
192161
- name: 'Checkout project'
193162
uses: actions/checkout@v4
194163
with:
@@ -204,6 +173,3 @@ jobs:
204173

205174
- name: 'Run ${{github.event.inputs.version}} native test'
206175
run: bash build-assets/scripts/test.sh --image github-actions-ubuntu-latest --version ${{github.event.inputs.version}} --base-url pre-release
207-
208-
209-

0 commit comments

Comments
 (0)