-
Notifications
You must be signed in to change notification settings - Fork 12
45 lines (40 loc) · 1.32 KB
/
build_binaries.yml
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
37
38
39
40
41
42
43
44
45
---
name: Build Matrix of Binaries
'on':
push:
branches:
- main
- build-*
env:
TARI_TARGET_NETWORK: nextnet
TARI_NETWORK: nextnet
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019]
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Jimver/[email protected]
with:
method: network
sub-packages: '["nvcc", "cudart"]'
- name: Install Windows dependencies
if: startsWith(runner.os,'Windows')
run: |
# vcpkg.exe install sqlite3:x64-windows zlib:x64-windows
# Bug in choco - need to install each package individually
choco upgrade llvm -y
choco upgrade protoc -y
- name: build (windows)
if: startsWith(runner.os,'Windows')
run: |
cd src
cd miner
cargo build --release --bin tarigpuminer
- uses: actions/upload-artifact@v4
with:
path: src/miner/target/release/tarigpuminer.exe