Skip to content

Commit dbe6ebc

Browse files
committed
testing workflow
1 parent d1ddc1e commit dbe6ebc

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/test.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
on:
2+
push:
3+
branches:
4+
- master_test
5+
6+
name: Test
7+
8+
env:
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME_RELAY: threefoldtech/rmb-relay
11+
IMAGE_NAME_PEER: threefoldtech/rmb-peer
12+
13+
jobs:
14+
build:
15+
name: build rmb
16+
runs-on: ubuntu-24.04
17+
steps:
18+
19+
- name: Prepare
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install musl-tools
23+
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip
24+
sudo unzip -d /usr/local protoc-21.12-linux-x86_64.zip
25+
- name: Checkout code
26+
uses: actions/checkout@v3
27+
- uses: actions-rs/toolchain@v1
28+
name: Install toolchain
29+
with:
30+
toolchain: stable
31+
target: x86_64-unknown-linux-musl
32+
- uses: actions-rs/cargo@v1
33+
name: Build
34+
with:
35+
command: build
36+
args: |
37+
--release
38+
--target=x86_64-unknown-linux-musl

0 commit comments

Comments
 (0)