-
Notifications
You must be signed in to change notification settings - Fork 205
75 lines (68 loc) · 2.43 KB
/
build-soroban-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: Soroban-Dev
# The `:soroban-dev` tag points to a build containing unreleased versions of
# software that have been informally released to the futurenet network.
on:
push:
branches:
- master
pull_request:
# Prevent more than one build of this workflow for a branch to be running at the
# same time, and if multiple are queued, only run the latest, cancelling any
# already running build. The exception being any protected branch, such as
# master, where a build for every commit will run.
concurrency:
group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }}
cancel-in-progress: true
jobs:
complete:
if: always()
needs: [manifest]
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
amd64:
uses: ./.github/workflows/build.yml
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
with:
arch: amd64
tag: soroban-dev-amd64
core_ref: soroban-preview-10-July20
core_configure_flags: --disable-tests --enable-next-protocol-version-unsafe-for-production
go_ref: soroban-v0.0.9.1
soroban_tools_ref: v0.9.2
test_matrix: |
{
"network": ["standalone"],
"options": ["", "--enable-horizon-captive-core", "--enable-soroban-rpc"],
}
arm64:
uses: ./.github/workflows/build.yml
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
with:
arch: arm64
tag: soroban-dev-arm64
core_ref: soroban-preview-10-July20
core_configure_flags: --disable-tests --enable-next-protocol-version-unsafe-for-production
core_build_runner_type: ubuntu-latest-16-cores
go_ref: soroban-v0.0.9.1
soroban_tools_ref: v0.9.2
soroban_rpc_build_runner_type: ubuntu-latest-16-cores
test_matrix: |
{
"network": ["standalone"],
"options": ["", "--enable-horizon-captive-core", "--enable-soroban-rpc"],
}
manifest:
needs: [amd64, arm64]
uses: ./.github/workflows/manifest.yml
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
with:
tag: soroban-dev
images: ${{ needs.amd64.outputs.image }} ${{ needs.arm64.outputs.image }}