-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add workflow to test docker builds in CI
- Loading branch information
1 parent
69945e0
commit c4a3595
Showing
1 changed file
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: 'Deterministic builds' | ||
|
||
on: | ||
workflow_dispatch: null | ||
|
||
jobs: | ||
build-station: | ||
name: 'build-station:optional' | ||
runs-on: ubuntu-latest | ||
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 --station | ||
- name: 'Built hash' | ||
run: | | ||
BUILD_HASH=$(cat ./artifacts/station/station.wasm.gz.sha256) | ||
echo "built hash: $BUILD_HASH" | ||
build-upgrader: | ||
name: 'build-upgrader:optional' | ||
runs-on: ubuntu-latest | ||
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 --upgrader | ||
- name: 'Built hash' | ||
run: | | ||
BUILD_HASH=$(cat ./artifacts/upgrader/upgrader.wasm.gz.sha256) | ||
echo "built hash: $BUILD_HASH" | ||
build-control-panel: | ||
name: 'build-control-panel:optional' | ||
runs-on: ubuntu-latest | ||
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 --control-panel | ||
- name: 'Built hash' | ||
run: | | ||
BUILD_HASH=$(cat ./artifacts/control-panel/control_panel.wasm.gz.sha256) | ||
echo "built hash: $BUILD_HASH" | ||
build-wallet-dapp: | ||
name: 'build-wallet-dapp:optional' | ||
runs-on: ubuntu-latest | ||
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 --wallet-dapp | ||
- name: 'Built hash' | ||
run: | | ||
BUILD_HASH=$(cat ./artifacts/wallet-dapp/wallet_dapp.wasm.gz.sha256) | ||
echo "built hash: $BUILD_HASH" |