chore: upgrade to latest rust/gns #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build" | |
on: | |
push: | |
jobs: | |
build-linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Build | |
run: | | |
sudo apt-get install autoconf pkg-config libprotobuf-c-dev protobuf-compiler libssl-dev | |
RUST_LOG=debug cargo build -p example -vvv | |
build-windows: | |
name: Windows | |
runs-on: windows-latest | |
steps: | |
- name: Setup | Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Build | |
run: | | |
choco install openssl | |
choco install protoc | |
git clone --depth 1 --branch 24.x https://github.com/protocolbuffers/protobuf | |
$Env:CPLUS_INCLUDE_PATH = "C:\Program Files\OpenSSL-Win64\include\;$((Get-Location).Path)\protobuf\src" | |
cargo build -p gns -vvv |