Skip to content

Commit b23bcb6

Browse files
committed
re-generate workflows
1 parent 42b264b commit b23bcb6

File tree

10 files changed

+204
-37
lines changed

10 files changed

+204
-37
lines changed

.github/workflows/build-all.yml

Lines changed: 52 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
draft: false
6868
name: 'Test binaries'
6969
omitBodyDuringUpdate: true
70+
omitDraftDuringUpdate: true
7071
omitNameDuringUpdate: true
7172
owner: 'xpack-dev-tools'
7273
prerelease: true
@@ -77,10 +78,10 @@ jobs:
7778

7879

7980

80-
linux-arm64:
81-
name: 'Linux Arm - QEMU ${{ github.event.inputs.version }} build'
81+
linux-arm:
82+
name: 'Linux Arm 32 - QEMU ${{ github.event.inputs.version }} build'
8283
timeout-minutes: 2880 # 2 days
83-
runs-on: [self-hosted, linux, arm64]
84+
runs-on: [self-hosted, linux, arm, xbbla32]
8485
steps:
8586
- name: 'Machine'
8687
run: uname -a
@@ -93,15 +94,51 @@ jobs:
9394

9495
- name: 'Clean working area'
9596
run: rm -rf ~/Work/qemu-riscv-${{ github.event.inputs.version }}*
97+
- name: 'Build Linux arm32 binary'
98+
timeout-minutes: 1440
99+
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --arm32
100+
- name: 'Publish pre-release'
101+
# https://github.com/ncipollo/release-action
102+
uses: ncipollo/release-action@v1
103+
with:
104+
allowUpdates: true
105+
artifacts: '~/Work/qemu-riscv-${{ github.event.inputs.version }}/deploy/*'
106+
bodyFile: '.github/workflows/body-github-pre-releases-test.md'
107+
commit: 'master'
108+
draft: false
109+
name: 'Test binaries'
110+
omitBodyDuringUpdate: true
111+
omitDraftDuringUpdate: true
112+
omitNameDuringUpdate: true
113+
owner: 'xpack-dev-tools'
114+
prerelease: true
115+
replacesArtifacts: true
116+
repo: 'pre-releases'
117+
tag: 'test'
118+
token: ${{ secrets.PUBLISH_TOKEN }}
119+
120+
96121

122+
linux-arm64:
123+
name: 'Linux Arm 64 - QEMU ${{ github.event.inputs.version }} build'
124+
timeout-minutes: 2880 # 2 days
125+
runs-on: [self-hosted, linux, arm64, xbbla64]
126+
steps:
127+
- name: 'Machine'
128+
run: uname -a
129+
130+
- name: 'Checkout'
131+
uses: actions/checkout@v2
132+
with:
133+
fetch-depth: 3
134+
submodules: true
135+
136+
- name: 'Clean working area'
137+
run: rm -rf ~/Work/qemu-riscv-${{ github.event.inputs.version }}*
97138
- name: 'Build Linux arm64 binary'
98139
timeout-minutes: 1440
99140
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --arm64
100-
101-
- name: 'Build Linux arm32 binary'
102-
timeout-minutes: 1440
103-
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --arm32
104-
141+
105142
- name: 'Publish pre-release'
106143
# https://github.com/ncipollo/release-action
107144
uses: ncipollo/release-action@v1
@@ -113,6 +150,7 @@ jobs:
113150
draft: false
114151
name: 'Test binaries'
115152
omitBodyDuringUpdate: true
153+
omitDraftDuringUpdate: true
116154
omitNameDuringUpdate: true
117155
owner: 'xpack-dev-tools'
118156
prerelease: true
@@ -126,7 +164,9 @@ jobs:
126164
macos-x64:
127165
name: 'macOS Intel - QEMU ${{ github.event.inputs.version }} build'
128166
timeout-minutes: 2880 # 2 days
167+
129168
runs-on: [self-hosted, macos, intel]
169+
130170
steps:
131171
- name: 'Machine'
132172
run: uname -a
@@ -155,6 +195,7 @@ jobs:
155195
draft: false
156196
name: 'Test binaries'
157197
omitBodyDuringUpdate: true
198+
omitDraftDuringUpdate: true
158199
omitNameDuringUpdate: true
159200
owner: 'xpack-dev-tools'
160201
prerelease: true
@@ -168,7 +209,9 @@ jobs:
168209
macos-arm64:
169210
name: 'macOS Arm - QEMU ${{ github.event.inputs.version }} build'
170211
timeout-minutes: 2880 # 2 days
212+
171213
runs-on: [self-hosted, macos, apple]
214+
172215
defaults:
173216
run:
174217
shell: "/usr/bin/arch -arch arm64e /bin/bash -l {0}"
@@ -201,6 +244,7 @@ jobs:
201244
draft: false
202245
name: 'Test binaries'
203246
omitBodyDuringUpdate: true
247+
omitDraftDuringUpdate: true
204248
omitNameDuringUpdate: true
205249
owner: 'xpack-dev-tools'
206250
prerelease: true
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# -----------------------------------------------------------------------------
2+
# DO NOT EDIT! Generated from scripts/helper/templates/*.
3+
#
4+
# This file is part of the xPack distribution.
5+
# (https://xpack.github.io)
6+
# Copyright (c) 2021 Liviu Ionescu.
7+
#
8+
# Permission to use, copy, modify, and/or distribute this software
9+
# for any purpose is hereby granted, under the terms of the MIT license.
10+
# -----------------------------------------------------------------------------
11+
12+
# https://help.github.com/en/actions
13+
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
14+
15+
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
16+
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
17+
# https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event
18+
19+
# -----------------------------------------------------------------------------
20+
21+
22+
name: 'Build xPack QEMU xbbla32'
23+
24+
on:
25+
workflow_dispatch:
26+
inputs:
27+
version:
28+
description: 'The semver of the release'
29+
required: false
30+
default: 'current'
31+
32+
jobs:
33+
34+
linux-arm:
35+
name: 'Linux Arm 32 - QEMU ${{ github.event.inputs.version }} build'
36+
timeout-minutes: 2880 # 2 days
37+
runs-on: [self-hosted, linux, arm, xbbla32]
38+
steps:
39+
- name: 'Machine'
40+
run: uname -a
41+
42+
- name: 'Checkout'
43+
uses: actions/checkout@v2
44+
with:
45+
fetch-depth: 3
46+
submodules: true
47+
48+
- name: 'Clean working area'
49+
run: rm -rf ~/Work/qemu-riscv-${{ github.event.inputs.version }}*
50+
- name: 'Build Linux arm32 binary'
51+
timeout-minutes: 1440
52+
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --arm32
53+
- name: 'Publish pre-release'
54+
# https://github.com/ncipollo/release-action
55+
uses: ncipollo/release-action@v1
56+
with:
57+
allowUpdates: true
58+
artifacts: '~/Work/qemu-riscv-${{ github.event.inputs.version }}/deploy/*'
59+
bodyFile: '.github/workflows/body-github-pre-releases-test.md'
60+
commit: 'master'
61+
draft: false
62+
name: 'Test binaries'
63+
omitBodyDuringUpdate: true
64+
omitDraftDuringUpdate: true
65+
omitNameDuringUpdate: true
66+
owner: 'xpack-dev-tools'
67+
prerelease: true
68+
replacesArtifacts: true
69+
repo: 'pre-releases'
70+
tag: 'test'
71+
token: ${{ secrets.PUBLISH_TOKEN }}
72+

.github/workflows/build-xbbla.yml renamed to .github/workflows/build-xbbla64.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# -----------------------------------------------------------------------------
2020

2121

22-
name: 'Build xPack QEMU xbbla'
22+
name: 'Build xPack QEMU xbbla64'
2323

2424
on:
2525
workflow_dispatch:
@@ -32,9 +32,9 @@ on:
3232
jobs:
3333

3434
linux-arm64:
35-
name: 'Linux Arm - QEMU ${{ github.event.inputs.version }} build'
35+
name: 'Linux Arm 64 - QEMU ${{ github.event.inputs.version }} build'
3636
timeout-minutes: 2880 # 2 days
37-
runs-on: [self-hosted, linux, arm64]
37+
runs-on: [self-hosted, linux, arm64, xbbla64]
3838
steps:
3939
- name: 'Machine'
4040
run: uname -a
@@ -47,15 +47,10 @@ jobs:
4747

4848
- name: 'Clean working area'
4949
run: rm -rf ~/Work/qemu-riscv-${{ github.event.inputs.version }}*
50-
5150
- name: 'Build Linux arm64 binary'
5251
timeout-minutes: 1440
5352
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --arm64
54-
55-
- name: 'Build Linux arm32 binary'
56-
timeout-minutes: 1440
57-
run: bash scripts/helper/build.sh --version "${{ github.event.inputs.version }}" --arm32
58-
53+
5954
- name: 'Publish pre-release'
6055
# https://github.com/ncipollo/release-action
6156
uses: ncipollo/release-action@v1
@@ -67,6 +62,7 @@ jobs:
6762
draft: false
6863
name: 'Test binaries'
6964
omitBodyDuringUpdate: true
65+
omitDraftDuringUpdate: true
7066
omitNameDuringUpdate: true
7167
owner: 'xpack-dev-tools'
7268
prerelease: true

.github/workflows/build-xbbli.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
draft: false
6868
name: 'Test binaries'
6969
omitBodyDuringUpdate: true
70+
omitDraftDuringUpdate: true
7071
omitNameDuringUpdate: true
7172
owner: 'xpack-dev-tools'
7273
prerelease: true

.github/workflows/build-xbbma.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
macos-arm64:
3535
name: 'macOS Arm - QEMU ${{ github.event.inputs.version }} build'
3636
timeout-minutes: 2880 # 2 days
37+
3738
runs-on: [self-hosted, macos, apple]
39+
3840
defaults:
3941
run:
4042
shell: "/usr/bin/arch -arch arm64e /bin/bash -l {0}"
@@ -67,6 +69,7 @@ jobs:
6769
draft: false
6870
name: 'Test binaries'
6971
omitBodyDuringUpdate: true
72+
omitDraftDuringUpdate: true
7073
omitNameDuringUpdate: true
7174
owner: 'xpack-dev-tools'
7275
prerelease: true

.github/workflows/build-xbbmi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
macos-x64:
3535
name: 'macOS Intel - QEMU ${{ github.event.inputs.version }} build'
3636
timeout-minutes: 2880 # 2 days
37+
3738
runs-on: [self-hosted, macos, intel]
39+
3840
steps:
3941
- name: 'Machine'
4042
run: uname -a
@@ -63,6 +65,7 @@ jobs:
6365
draft: false
6466
name: 'Test binaries'
6567
omitBodyDuringUpdate: true
68+
omitDraftDuringUpdate: true
6669
omitNameDuringUpdate: true
6770
owner: 'xpack-dev-tools'
6871
prerelease: true

0 commit comments

Comments
 (0)