We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc8e941 commit cdd3e05Copy full SHA for cdd3e05
.github/workflows/build.yml
@@ -0,0 +1,35 @@
1
+name: Build
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+env:
10
+ CARGO_TERM_COLOR: always
11
12
+jobs:
13
+ build:
14
+ strategy:
15
+ fail-fast: false
16
+ matrix:
17
+ os: [ ubuntu-latest, macos-13, macos-14 ]
18
+ runs-on: ${{ matrix.os }}
19
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ with:
23
+ submodules: recursive
24
+ - uses: dtolnay/rust-toolchain@stable
25
+ - uses: Swatinem/rust-cache@v2
26
+ - name: Install protobuf
27
+ if: runner.os == 'macOS'
28
+ run: brew install protobuf
29
30
+ if: runner.os == 'Linux'
31
+ run: sudo apt-get update && sudo apt-get install libprotobuf-dev protobuf-compiler
32
+ - name: Build
33
+ run: cargo build -vv
34
+ - name: Test
35
+ run: cargo test -vv
0 commit comments