File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 steps :
5151 - uses : actions/checkout@v4
5252
53+ - name : Install system dependencies (Linux)
54+ if : runner.os == 'Linux'
55+ run : sudo apt-get update && sudo apt-get install -y protobuf-compiler libssl-dev pkg-config
56+
57+ - name : Install system dependencies (macOS)
58+ if : runner.os == 'macOS'
59+ run : brew install protobuf
60+
5361 - name : Install Rust toolchain
5462 uses : dtolnay/rust-toolchain@stable
5563 with :
8290 if [ "${{ matrix.use_cross }}" = "true" ]; then
8391 BUILD_CMD="cross"
8492 fi
85- $BUILD_CMD build --release --target ${{ matrix.target }} --locked
93+ $BUILD_CMD build --release --target ${{ matrix.target }}
8694
8795 - name : Package archive
8896 run : |
Original file line number Diff line number Diff line change 1+ [target .x86_64-unknown-linux-gnu ]
2+ pre-build = [" apt-get update && apt-get install -y protobuf-compiler cmake" ]
3+
4+ [target .x86_64-unknown-linux-musl ]
5+ pre-build = [" apt-get update && apt-get install -y protobuf-compiler cmake musl-tools" ]
6+
7+ [target .aarch64-unknown-linux-gnu ]
8+ pre-build = [" apt-get update && apt-get install -y protobuf-compiler cmake" ]
9+
You can’t perform that action at this time.
0 commit comments