-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add ability to benchmark * ci: add windows build * ci: add windows build (#1) * ci: try stable * ci: add packages * ci: add protoc * fix: continue on error * ci: try windows 2019 * ci: try differnet cuda
- Loading branch information
1 parent
0aadcc7
commit 97c1a96
Showing
5 changed files
with
4,443 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/src/miner/target | ||
config.json |
Oops, something went wrong.