Skip to content

Commit 134cec5

Browse files
committed
re-generate descriptive & permalink names
1 parent 20c871c commit 134cec5

File tree

8 files changed

+55
-137
lines changed

8 files changed

+55
-137
lines changed

.github/workflows/build-darwin-arm64.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 sed darwin-arm64'
3331

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

7068
jobs:
71-
72-
73-
74-
7569
darwin-arm64-build:
7670
name: 'darwin-arm64 sed ${{github.event.inputs.version}} build'
7771
timeout-minutes: 2880 # 2 days
78-
7972
runs-on: [self-hosted, macos, apple]
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-arm64 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-arm64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
123114
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
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-darwin-x64.yml

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

2929

30-
31-
3230
name: 'Build xPack GNU sed darwin-x64'
3331

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

7068
jobs:
71-
72-
7369
darwin-x64-build:
7470
name: 'darwin-x64 sed ${{github.event.inputs.version}} build'
7571
timeout-minutes: 2880 # 2 days
76-
7772
runs-on: [self-hosted, macos, intel]
78-
73+
env:
74+
XBB_ENVIRONMENT_MACOSX_DEPLOYMENT_TARGET: '11.0'
7975
steps:
8076
- name: 'Show environment'
8177
run: |
@@ -110,15 +106,14 @@ jobs:
110106
npm install --location=global xpm@${{github.event.inputs.xpm_version}}
111107
xpm --version
112108
113-
- name: 'Install project dependencies'
114-
timeout-minutes: 1440
115-
run: xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
116-
117109
- name: 'Build darwin-x64 binaries'
118110
timeout-minutes: 1440
119111
run: |
112+
xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
120113
xpm install --config darwin-x64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
121114
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
122117
123118
- name: Upload platform artefacts
124119
uses: actions/upload-artifact@v4
@@ -190,6 +185,3 @@ jobs:
190185

191186
- name: 'Run ${{github.event.inputs.version}} native test'
192187
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url pre-release
193-
194-
195-

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

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

2929

30-
31-
3230
name: 'Build xPack GNU sed linux-arm64'
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-arm64-build:
8070
name: 'linux-arm64 sed ${{github.event.inputs.version}} build'
8171
timeout-minutes: 2880 # 2 days
8272
runs-on: [self-hosted, linux, arm64, xbbla, xbblax]
83-
container:
84-
image: ilegeul/debian:arm64v8-10-xbb-v6.0.0
8573
defaults:
8674
run:
8775
shell: bash
@@ -114,37 +102,14 @@ 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-arm64 binaries'
122106
timeout-minutes: 1440
123107
run: |
124-
xpm install --config linux-arm64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
125-
xpm run build --config linux-arm64 -C build-assets
126-
127-
linux-arm64-upload:
128-
name: 'linux-arm64 sed ${{github.event.inputs.version}} upload'
129-
timeout-minutes: 2880 # 2 days
130-
runs-on: [self-hosted, linux, arm64, xbbla, xbblax]
131-
container:
132-
defaults:
133-
run:
134-
shell: bash
135-
needs: [linux-arm64-build]
136-
137-
steps:
138-
- name: 'Show environment'
139-
run: |
140-
uname -a
141-
lsb_release -sd
142-
echo "whoami: $(whoami)"
143-
echo "pwd: $(pwd)"
144-
echo "node: $(node --version)"
145-
echo "npm: $(npm --version)"
146-
ls -lLA
147-
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
148113
149114
- name: Upload platform artefacts
150115
uses: actions/upload-artifact@v4
@@ -179,8 +144,8 @@ jobs:
179144

180145
linux-arm64-test:
181146
name: 'linux-arm64 sed ${{github.event.inputs.version}} test'
182-
runs-on: [self-hosted, linux, arm64, xbbla, xbblax]
183-
needs: [linux-arm64-upload]
147+
runs-on: ubuntu-24.04-arm
148+
needs: [linux-arm64-build]
184149

185150
steps:
186151
- name: 'Show environment'
@@ -192,11 +157,6 @@ jobs:
192157
ls -lLA
193158
env | sort | grep -E '^[^ \t]+='
194159
195-
- name: 'Clean working area' # Mandatory for self-hosted runners.
196-
run: |
197-
chmod -Rf a+w * || true
198-
rm -rf * .git*
199-
200160
# https://github.com/actions/checkout
201161
- name: 'Checkout project'
202162
uses: actions/checkout@v4
@@ -211,11 +171,5 @@ jobs:
211171
ref: ${{github.event.inputs.helper-git-ref}}
212172
fetch-depth: 3
213173

214-
- name: 'Run ${{github.event.inputs.version}} docker test'
215-
uses: docker://node:lts-slim # Currently based on debian:12-slim
216-
with:
217-
entrypoint: /bin/bash
218-
args: /github/workspace/build-assets/scripts/test.sh --image debian --version ${{github.event.inputs.version}} --base-url pre-release
219-
220-
221-
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 & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
# -----------------------------------------------------------------------------
2828

2929

30-
31-
3230
name: 'Build xPack GNU sed linux-x64'
3331

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

7068
jobs:
71-
72-
73-
74-
75-
76-
7769
linux-x64-build:
7870
name: 'linux-x64 sed ${{github.event.inputs.version}} build'
79-
timeout-minutes: 5760 # 4 days
71+
timeout-minutes: 2880 # 2 days
8072
runs-on: [self-hosted, linux, x64, xbblix]
81-
container:
82-
image: ilegeul/debian:amd64-10-xbb-v6.0.0
8373
defaults:
8474
run:
8575
shell: bash
@@ -112,40 +102,20 @@ jobs:
112102
npm install --location=global xpm@${{github.event.inputs.xpm_version}}
113103
xpm --version
114104
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-
119105
- name: 'Build linux-x64 binaries'
120106
timeout-minutes: 1440
121107
run: |
122-
xpm install --config linux-x64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
123-
xpm run build --config linux-x64 -C build-assets
124-
125-
linux-x64-upload:
126-
name: 'linux-x64 sed ${{github.event.inputs.version}} upload'
127-
timeout-minutes: 5760 # 4 days
128-
runs-on: [self-hosted, linux, x64, xbblix]
129-
defaults:
130-
run:
131-
shell: bash
132-
needs: [linux-x64-build]
133-
134-
steps:
135-
- name: 'Show environment'
136-
run: |
137-
uname -a
138-
lsb_release -sd
139-
echo "whoami: $(whoami)"
140-
echo "pwd: $(pwd)"
141-
ls -lLA
142-
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
143113
144114
- name: Upload platform artefacts
145115
uses: actions/upload-artifact@v4
146116
with:
147117
name: deploy-linux-x64
148-
path: ${{github.workspace}}/build/linux-x64/deploy/*
118+
path: ${{github.workspace}}/build-assets/build/linux-x64/deploy/*
149119
overwrite: true
150120

151121
- name: 'Publish pre-release'
@@ -175,7 +145,7 @@ jobs:
175145
linux-x64-test:
176146
name: 'linux-x64 sed ${{github.event.inputs.version}} test'
177147
runs-on: ubuntu-24.04
178-
needs: [linux-x64-upload]
148+
needs: [linux-x64-build]
179149

180150
steps:
181151
- name: 'Show environment'
@@ -187,6 +157,7 @@ jobs:
187157
ls -lLA
188158
env | sort | grep -E '^[^ \t]+='
189159
160+
# https://github.com/actions/checkout
190161
- name: 'Checkout project'
191162
uses: actions/checkout@v4
192163
with:
@@ -202,6 +173,3 @@ jobs:
202173

203174
- name: 'Run ${{github.event.inputs.version}} native test'
204175
run: bash build-assets/scripts/test.sh --image github-actions-ubuntu-latest --version ${{github.event.inputs.version}} --base-url pre-release
205-
206-
207-

0 commit comments

Comments
 (0)