-
Notifications
You must be signed in to change notification settings - Fork 5
47 lines (45 loc) · 1.11 KB
/
builds.yaml
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
name: 'Deterministic builds'
on:
workflow_dispatch: null
pull_request:
types:
- opened
- edited
- reopened
- synchronize
- labeled
merge_group:
types: [checks_requested]
branches:
- main
push:
branches:
- '**/release**'
- '**/build**'
- main
jobs:
deterministic-build:
name: 'deterministic-build:optional'
runs-on: ubuntu-latest
strategy:
matrix:
include:
- project: control-panel
artifact: control_panel.wasm.gz
- project: station
artifact: station.wasm.gz
- project: upgrader
artifact: upgrader.wasm.gz
- project: wallet-dapp
artifact: wallet-dapp.tar.gz
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- uses: docker-practice/actions-setup-docker@master
timeout-minutes: 12
- name: 'Deterministic build'
run: |
./scripts/docker-build.sh --${{ matrix.project }}
- name: 'Built hash'
run: |
cat artifacts/${{ matrix.project }}/${{ matrix.artifact }}.sha256