Skip to content

Commit 2cf4ba8

Browse files
committed
Build westend binary
1 parent 11e50fb commit 2cf4ba8

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2+
name: Build Westend
3+
concurrency:
4+
group: ${{github.workflow}}-${{github.ref}}
5+
cancel-in-progress: true
6+
on:
7+
push:
8+
9+
env:
10+
NIGHTLY_TOOLCHAIN: nightly-2025-04-03
11+
12+
jobs:
13+
build-binaries:
14+
name: Build Branch
15+
runs-on: ubicloud-standard-16
16+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.0
17+
env:
18+
BIN_DIR: target/release
19+
steps:
20+
- name: Check Out Repo
21+
uses: actions/checkout@v4
22+
- name: Compile Binary
23+
run: |
24+
CARGO_INCREMENTAL=0 RUSTFLAGS="-D warnings" cargo build --locked --release \
25+
--features frequency-westend,frequency-bridging
26+
- name: Run Sanity Checks
27+
working-directory: ${{env.BIN_DIR}}
28+
run: |
29+
file frequency && \
30+
./frequency --version
31+
- name: Upload Artifact
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: artifacts-binary-westend-${{github.run_id}}
35+
path: ${{env.BIN_DIR}}/frequency
36+
if-no-files-found: error

0 commit comments

Comments
 (0)