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 2c5aeab
Show file tree
Hide file tree
Showing 10 changed files with 226 additions and 206 deletions.
40 changes: 22 additions & 18 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,30 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v3
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@v3
- uses: cachix/install-nix-action@v22
with:
submodules: 'true'
nix_path: nixpkgs=channel:nixos-unstable
- name: Build
run: |
choco install openssl
choco install protoc
git clone --depth 1 --branch v3.20.1 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
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
# TODO: couldn't fine abseil as installable lib with choco?
# 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 2c5aeab

Please sign in to comment.