Skip to content

Commit 5b1451c

Browse files
authored
Add arm64 binaries and docker containers (#2382)
# Goal The goal of this PR is to add support for linux/arm64 in binaries and docker images Closes #779
1 parent 2ebf99b commit 5b1451c

18 files changed

+2647
-3551
lines changed

.github/workflows/benchmarks-run.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: github.repository == 'frequency-chain/frequency'
2121
name: Build Benchmark Binary
2222
runs-on: ubicloud-standard-16
23-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.4.0
23+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
2424
permissions:
2525
contents: read
2626
steps:
@@ -117,7 +117,7 @@ jobs:
117117
name: Post Benchmark Tests
118118
needs: run-benchmarks
119119
runs-on: ubicloud-standard-16
120-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.4.0
120+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
121121
permissions:
122122
contents: read
123123
steps:

.github/workflows/check-migrations.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ on:
55
types:
66
- labeled
77
workflow_dispatch:
8+
# Set default permissions as restrictive
9+
permissions:
10+
contents: read
11+
packages: read
812

913
jobs:
1014
check-migrations:
1115
if: github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'change/storage-migration')
1216
name: Check Migrations on Paseo
1317
continue-on-error: false
1418
runs-on: ubicloud-standard-8
15-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.4.0
19+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
1620
steps:
1721
- name: Checkout sources
1822
uses: actions/checkout@v4

.github/workflows/check-polkadot-releases.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ env:
88
REPO_URL: https://api.github.com/repos/paritytech/polkadot-sdk
99
TRACKING_GIT_BRANCH: ci/latest-polkadot-full-release
1010
RELEASE_TRACK_FILENAME: .github/.latest-polkadot-full-release.txt
11+
12+
# Set default permissions as restrictive
13+
permissions:
14+
contents: write
15+
1116
jobs:
1217
record-polkadot-latest-release-version:
1318
runs-on: ubuntu-latest

.github/workflows/common/codecov/action.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ inputs:
77
runs:
88
using: "composite"
99
steps:
10-
- name: Install grcov
11-
shell: bash
12-
run: cargo install --locked grcov --version 0.9.0
1310
- name: Add llvm-tools
1411
shell: bash
15-
run: rustup component add llvm-tools-preview
12+
run: rustup component add llvm-tools-preview && rustup show && echo $PATH
13+
14+
- name: Install grcov
15+
shell: bash
16+
run: |
17+
cargo install --locked grcov --version 0.9.1
18+
which grcov
19+
1620
- name: Build
1721
shell: bash # Limited to 10 threads max
1822
run: cargo build -j 10 --features frequency-lint-check

.github/workflows/common/srtool/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# This is a copy of the action file from https://github.com/chevdor/srtool-actions/blob/48e9baed50ca414936dfac59d34d8b9bbe581abd/action.yml
1+
# This is a copy of the action file from https://github.com/paritytech/srtool-actions/blob/9cf7232631d71f9510e05ab6297b1aa57e588fce/action.yml
22
# It is pulled in and modified for the following reasons:
33
# 1. We needed to add an additional environment variable to the docker run (CARGO_NET_RETRY=10)
44
# 2. Local for direct auditing of the action building the runtime
55

66
name: "Srtool"
77
description: "Build WASM Runtime with SRTOOL"
8-
author: chevdor
8+
author: chevdor & paritytech
99
branding:
1010
icon: "package"
1111
color: "blue"

.github/workflows/e2e-testnet.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ on:
1414
env:
1515
TAG_FROM_UI: ${{github.event.inputs.release-version}}
1616

17+
# Set default permissions as restrictive
18+
permissions:
19+
contents: read
20+
1721
jobs:
1822
run-e2e-setup:
1923
name: Run E2E Test Prep

.github/workflows/merge-pr.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ on:
77
push:
88
branches:
99
- main
10+
# Set default permissions as restrictive
11+
permissions:
12+
contents: read
13+
packages: read
1014

1115
jobs:
1216
publish-js-api-augment-rc:
1317
name: Merge - Publish JS API Augment Release Candidate
1418
runs-on: ubicloud-standard-4
15-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.4.0
19+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
1620
steps:
1721
- name: Check Out Repo
1822
uses: actions/checkout@v4
@@ -49,7 +53,7 @@ jobs:
4953
calc-code-coverage:
5054
name: Merge - Calculate Code Coverage
5155
runs-on: ubicloud-standard-30
52-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.4.0
56+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
5357
steps:
5458
- name: Check Out Repo
5559
uses: actions/checkout@v4

0 commit comments

Comments
 (0)