Skip to content

Merge pull request #6 from hax0r31337/master #78

Merge pull request #6 from hax0r31337/master

Merge pull request #6 from hax0r31337/master #78

Workflow file for this run

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
# 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