Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit f41f928

Browse files
committed
re-generate workflows
1 parent d44a5e4 commit f41f928

File tree

6 files changed

+323
-177
lines changed

6 files changed

+323
-177
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -----------------------------------------------------------------------------
2-
# DO NOT EDIT! Generated from scripts/helper/templates/build-liquid.yml.
2+
# DO NOT EDIT! Generated from scripts/helper/templates/*.
33
#
44
# This file is part of the xPack distribution.
55
# (https://xpack.github.io)
@@ -18,6 +18,7 @@
1818

1919
# -----------------------------------------------------------------------------
2020

21+
2122
name: 'Build xPack GNU RISC-V Embedded GCC'
2223

2324
on:
@@ -29,6 +30,7 @@ on:
2930
default: 'current'
3031

3132
jobs:
33+
3234
linux-x64:
3335
name: 'Intel Linux GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} build'
3436
timeout-minutes: 5760 # 4 days
@@ -39,20 +41,26 @@ jobs:
3941
with:
4042
fetch-depth: 3
4143
submodules: true
44+
4245
- name: 'Clean working area'
4346
run: rm -rf ~/Work/riscv-none-embed-gcc-${{ github.event.inputs.version }}*
47+
4448
- name: 'Build Linux x64 binary'
4549
timeout-minutes: 1440
4650
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --linux64
47-
- name: 'Build Windows x64 binary'
48-
timeout-minutes: 1440
49-
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --win64
51+
5052
- name: 'Build Linux ia32 binary'
5153
timeout-minutes: 1440
5254
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --linux32
55+
56+
- name: 'Build Windows x64 binary'
57+
timeout-minutes: 1440
58+
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --win64
59+
5360
- name: 'Build Windows ia32 binary'
5461
timeout-minutes: 1440
5562
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --win32
63+
5664
- name: 'Publish pre-release'
5765
# https://github.com/ncipollo/release-action
5866
uses: ncipollo/release-action@v1
@@ -72,6 +80,8 @@ jobs:
7280
tag: 'test'
7381
token: ${{ secrets.PUBLISH_TOKEN }}
7482

83+
84+
7585
linux-arm64:
7686
name: 'Arm Linux GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} build'
7787
timeout-minutes: 2880 # 2 days
@@ -82,11 +92,18 @@ jobs:
8292
with:
8393
fetch-depth: 3
8494
submodules: true
95+
8596
- name: 'Clean working area'
8697
run: rm -rf ~/Work/riscv-none-embed-gcc-${{ github.event.inputs.version }}*
98+
8799
- name: 'Build Linux arm64 binary'
88100
timeout-minutes: 1440
89101
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --arm64
102+
103+
- name: 'Build Linux arm32 binary'
104+
timeout-minutes: 1440
105+
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --arm32
106+
90107
- name: 'Publish pre-release'
91108
# https://github.com/ncipollo/release-action
92109
uses: ncipollo/release-action@v1
@@ -106,6 +123,8 @@ jobs:
106123
tag: 'test'
107124
token: ${{ secrets.PUBLISH_TOKEN }}
108125

126+
127+
109128
macos-x64:
110129
name: 'Intel macOS GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} build'
111130
timeout-minutes: 2880 # 2 days
@@ -116,11 +135,14 @@ jobs:
116135
with:
117136
fetch-depth: 3
118137
submodules: true
138+
119139
- name: 'Clean working area'
120140
run: rm -rf ~/Work/riscv-none-embed-gcc-${{ github.event.inputs.version }}*
141+
121142
- name: 'Build macOS x64 binary'
122143
timeout-minutes: 1440
123144
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --osx
145+
124146
- name: 'Publish pre-release'
125147
# https://github.com/ncipollo/release-action
126148
uses: ncipollo/release-action@v1
@@ -140,3 +162,4 @@ jobs:
140162
tag: 'test'
141163
token: ${{ secrets.PUBLISH_TOKEN }}
142164

165+

.github/workflows/publish-release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -----------------------------------------------------------------------------
2-
# DO NOT EDIT! Generated from scripts/helper/templates/publish-release-liquid.yml.
2+
# DO NOT EDIT! Generated from scripts/helper/templates/*.
33
#
44
# This file is part of the xPack distribution.
55
# (https://xpack.github.io)
@@ -18,6 +18,7 @@
1818

1919
# -----------------------------------------------------------------------------
2020

21+
2122
name: 'Publish the xPack GNU RISC-V Embedded GCC release'
2223

2324
on:
@@ -29,6 +30,7 @@ on:
2930
default: 'current'
3031

3132
jobs:
33+
3234
linux-x64:
3335
name: 'Intel Linux GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} publish release'
3436
runs-on: [self-hosted, Linux, X64]
@@ -64,6 +66,8 @@ jobs:
6466
- name: 'Show SHA'
6567
run: cat ~/Work/riscv-none-embed-gcc-${{ github.event.inputs.version }}/deploy/*.sha
6668

69+
70+
6771
linux-arm64:
6872
name: 'Arm Linux GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} publish release'
6973
runs-on: [self-hosted, Linux, ARM64]
@@ -99,6 +103,8 @@ jobs:
99103
- name: 'Show SHA'
100104
run: cat ~/Work/riscv-none-embed-gcc-${{ github.event.inputs.version }}/deploy/*.sha
101105

106+
107+
102108
macos-x64:
103109
name: 'Intel macOS GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} publish release'
104110
runs-on: [self-hosted, macOS, X64]
@@ -133,3 +139,4 @@ jobs:
133139
token: ${{ secrets.PUBLISH_TOKEN }}
134140
- name: 'Show SHA'
135141
run: cat ~/Work/riscv-none-embed-gcc-${{ github.event.inputs.version }}/deploy/*.sha
142+

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

Lines changed: 115 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
# -----------------------------------------------------------------------------
3-
# DO NOT EDIT! Generated from scripts/helper/templates/test-docker-linux-arm-liquid.yml.
3+
# DO NOT EDIT! Generated from scripts/helper/templates/*.
44
#
55
# This file is part of the xPack distribution.
66
# (https://xpack.github.io)
@@ -17,10 +17,9 @@
1717
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
1818
# https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event
1919

20-
# https://github.com/organizations/xpack-dev-tools/settings/actions/runners/new?arch=arm64&os=linux
21-
2220
# -----------------------------------------------------------------------------
2321

22+
2423
# https://github.com/docker-library/official-images#architectures-other-than-amd64
2524

2625
# Debian versions:
@@ -54,6 +53,7 @@ on:
5453
# The scripts are executed in the Docker context by GitHub Actions,
5554
# so `native-test.sh` should be fine, it already takes care of updates.
5655
jobs:
56+
5757
# https://en.wikipedia.org/wiki/Ubuntu_version_history
5858
# https://hub.docker.com/_/ubuntu
5959
# The ubuntu:12.04 image fails to update.
@@ -109,25 +109,22 @@ jobs:
109109
# https://en.wikipedia.org/wiki/CentOS
110110
# https://hub.docker.com/_/centos
111111
# `-static` disabled, there is no static libc.a.
112-
centos-arm64:
113-
name: 'arm64 GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} test on CentOS 8, 7 stable'
114-
runs-on: [self-hosted, Linux, Arm64]
115-
steps:
116-
- name: 'Checkout'
117-
uses: actions/checkout@v2
118-
with:
119-
fetch-depth: 3
120-
submodules: true
121-
- name: 'CentOS 8 arm64'
122-
uses: docker://centos:8
123-
with:
124-
entrypoint: /bin/bash
125-
args: /github/workspace/scripts/helper/tests/native-test.sh --image centos:8 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
126-
# docker://centos:7 - undefined reference to `__cxa_thread_atexit_impl@GLIBC_2.18'
112+
# centos-arm64:
113+
# name: 'arm64 GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} test on CentOS 8, 7 stable'
114+
# runs-on: [self-hosted, Linux, Arm64]
115+
# steps:
116+
# - name: 'Checkout'
117+
# uses: actions/checkout@v2
118+
# with:
119+
# fetch-depth: 3
120+
# submodules: true
121+
# - name: 'CentOS 8 arm64'
122+
# uses: docker://centos:8
123+
# with:
124+
# entrypoint: /bin/bash
125+
# args: /github/workspace/scripts/helper/tests/native-test.sh --image centos:8 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
126+
# # docker://centos:7 - undefined reference to `__cxa_thread_atexit_impl@GLIBC_2.18'
127127

128-
# https://hub.docker.com/r/arm32v7/centos
129-
# docker://arm32v7/centos:7 - fails to update
130-
# docker://arm32v7/centos:8 - not available
131128

132129
# https://hub.docker.com/r/redhat/ubi8
133130
# `-static` disabled, there is no static libc.a.
@@ -146,25 +143,6 @@ jobs:
146143
entrypoint: /bin/bash
147144
args: /github/workspace/scripts/helper/tests/native-test.sh --image redhat/ubi8 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
148145

149-
# https://en.wikipedia.org/wiki/OpenSUSE#Releases
150-
# https://hub.docker.com/u/opensuse
151-
# `-static` disabled, there is no static libc.a.
152-
opensuse-arm64:
153-
name: 'arm64 GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} test on OpenSUSE 15, 13 stable'
154-
runs-on: [self-hosted, Linux, Arm64]
155-
steps:
156-
- name: 'Checkout'
157-
uses: actions/checkout@v2
158-
with:
159-
fetch-depth: 3
160-
submodules: true
161-
- name: 'OpenSUSE 15 arm64'
162-
uses: docker://opensuse/leap:15.3
163-
with:
164-
entrypoint: /bin/bash
165-
args: /github/workspace/scripts/helper/tests/native-test.sh --image opensuse/leap:15.3 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
166-
# docker://opensuse/leap:13 not available
167-
168146
# https://en.wikipedia.org/wiki/Fedora_version_history
169147
# https://hub.docker.com/_/fedora
170148
# `-static` disabled, there is no static libc.a.
@@ -197,8 +175,25 @@ jobs:
197175
with:
198176
entrypoint: /bin/bash
199177
args: /github/workspace/scripts/helper/tests/native-test.sh --image fedora:27 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
200-
201-
# fedora-arm: fails to update
178+
179+
# https://en.wikipedia.org/wiki/OpenSUSE#Releases
180+
# https://hub.docker.com/u/opensuse
181+
# `-static` disabled, there is no static libc.a.
182+
opensuse-arm64:
183+
name: 'arm64 GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} test on OpenSUSE 15, 13 stable'
184+
runs-on: [self-hosted, Linux, Arm64]
185+
steps:
186+
- name: 'Checkout'
187+
uses: actions/checkout@v2
188+
with:
189+
fetch-depth: 3
190+
submodules: true
191+
- name: 'OpenSUSE 15 arm64'
192+
uses: docker://opensuse/leap:15.3
193+
with:
194+
entrypoint: /bin/bash
195+
args: /github/workspace/scripts/helper/tests/native-test.sh --image opensuse/leap:15.3 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
196+
# docker://opensuse/leap:13 not available
202197

203198
# ---------------------------------------------------------------------------
204199

@@ -238,10 +233,6 @@ jobs:
238233
entrypoint: /bin/bash
239234
args: /github/workspace/scripts/helper/tests/native-test.sh --image debian:latest --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
240235

241-
# docker://arm32v7/debian:testing - fails to update
242-
243-
# centos:latest outdated
244-
# docker://arm32v7/centos:latest outdated
245236

246237
# - https://hub.docker.com/r/opensuse/tumbleweed
247238
opensuse-arm64-latest:
@@ -270,4 +261,82 @@ jobs:
270261
# - https://hub.docker.com/r/gentoo/portage
271262
# docker://gentoo/portage - exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown.
272263

264+
265+
# https://hub.docker.com/r/arm32v7/ubuntu/
266+
ubuntu-arm:
267+
name: 'arm GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} test on Ubuntu 18, 16, 14 stable'
268+
runs-on: [self-hosted, Linux, Arm64]
269+
steps:
270+
- name: 'Checkout'
271+
uses: actions/checkout@v2
272+
with:
273+
fetch-depth: 3
274+
submodules: true
275+
# docker://arm32v7/ubuntu:20.04 - fails to update
276+
- name: 'Ubuntu 18.04 arm'
277+
uses: docker://arm32v7/ubuntu:18.04
278+
with:
279+
entrypoint: /usr/bin/linux32
280+
args: /bin/bash /github/workspace/scripts/helper/tests/native-test.sh --image arm32v7/ubuntu:18.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
281+
- name: 'Ubuntu 16.04 arm'
282+
uses: docker://arm32v7/ubuntu:16.04
283+
with:
284+
entrypoint: /usr/bin/linux32
285+
args: /bin/bash /github/workspace/scripts/helper/tests/native-test.sh --image arm32v7/ubuntu:16.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
286+
287+
# https://hub.docker.com/r/arm32v7/debian
288+
debian-arm:
289+
name: 'arm GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} test on Debian 10, 9, 8 stable'
290+
runs-on: [self-hosted, Linux, Arm64]
291+
steps:
292+
- name: 'Checkout'
293+
uses: actions/checkout@v2
294+
with:
295+
fetch-depth: 3
296+
submodules: true
297+
- name: 'Debian 10 arm'
298+
uses: docker://arm32v7/debian:buster
299+
with:
300+
entrypoint: /usr/bin/linux32
301+
args: /bin/bash /github/workspace/scripts/helper/tests/native-test.sh --image arm32v7/debian:buster --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
302+
- name: 'Debian 9 arm'
303+
uses: docker://arm32v7/debian:stretch
304+
with:
305+
entrypoint: /usr/bin/linux32
306+
args: /bin/bash /github/workspace/scripts/helper/tests/native-test.sh --image arm32v7/debian:stretch --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
307+
- name: 'Debian 8 arm'
308+
uses: docker://arm32v7/debian:jessie
309+
with:
310+
entrypoint: /usr/bin/linux32
311+
args: /bin/bash /github/workspace/scripts/helper/tests/native-test.sh --image arm32v7/debian:jessie --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
312+
313+
# docker://arm32v7/debian:testing - fails to update
314+
315+
raspbian-arm:
316+
name: 'arm GNU RISC-V Embedded GCC ${{ github.event.inputs.version }} test on Raspbian 9 stable'
317+
runs-on: [self-hosted, Linux, Arm64]
318+
steps:
319+
- name: 'Checkout'
320+
uses: actions/checkout@v2
321+
with:
322+
fetch-depth: 3
323+
submodules: true
324+
- name: 'Raspbian 9 arm'
325+
uses: docker://raspbian/stretch
326+
with:
327+
entrypoint: /usr/bin/linux32
328+
args: /bin/bash /github/workspace/scripts/helper/tests/native-test.sh --image raspbian/stretch --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
329+
# docker://raspbian/jessie (8) fails to update.
330+
331+
# https://hub.docker.com/r/arm32v7/centos
332+
# docker://arm32v7/centos:7 - fails to update
333+
# docker://arm32v7/centos:8 - not available
334+
335+
# centos:latest outdated
336+
# docker://arm32v7/centos:latest outdated
337+
338+
# fedora-arm: fails to update
339+
340+
341+
273342
# -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)