This repository was archived by the owner on Feb 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ pull_request :
5+ branches : [ 1-3 ]
6+ push :
7+ branches : [ 1-3 ]
8+ schedule :
9+ - cron : " 0 10 * * *"
10+
11+ env :
12+ CARGO_TERM_COLOR : always
13+
14+ concurrency :
15+ group : " ${{ github.ref }}-${{ github.workflow }}"
16+ cancel-in-progress : true
17+
18+ jobs :
19+ build :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v3
23+ - name : Print rustc version
24+ run : rustc --version
25+ - name : Install wasm32-unknown-unknown
26+ run : rustup target add wasm32-unknown-unknown
27+ - name : Install apt packages
28+ run : sudo apt install -y libzmq3-dev
29+ - name : Install Just
30+ run : sudo snap install --edge --classic just
31+ - name : Install protoc
32+ run : |
33+ curl -OLsS https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip
34+ unzip protoc-3.5.1-linux-x86_64.zip -d protoc3
35+ rm protoc-3.5.1-linux-x86_64.zip
36+ - name : Lint
37+ run : PATH=$PATH:$(pwd)/protoc3/bin just lint
38+ - name : Build
39+ run : PATH=$PATH:$(pwd)/protoc3/bin just build
40+ - name : Test
41+ run : PATH=$PATH:$(pwd)/protoc3/bin just test
You can’t perform that action at this time.
0 commit comments