chore: upgrade to latest rust/gns #73
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' | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Build | |
run: | | |
nix develop -L --command bash -c "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 | |
choco install absl | |
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 |