-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (35 loc) · 1.06 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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