Skip to content

Commit

Permalink
chore: upgrade to latest rust/gns
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-aitlahcen committed Apr 2, 2024
1 parent 8daa356 commit 52fdfc9
Show file tree
Hide file tree
Showing 9 changed files with 210 additions and 192 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,29 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'true'
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- 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
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@v3
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Build
run: |
choco install openssl
choco install protoc
git clone --depth 1 --branch v3.20.1 https://github.com/protocolbuffers/protobuf
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
Loading

0 comments on commit 52fdfc9

Please sign in to comment.