Skip to content

chore(release): v0.1.6 #5

chore(release): v0.1.6

chore(release): v0.1.6 #5

---
name: Build Matrix of Binaries
'on':
push:
branches:
- main
- build-*
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
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 xtrgpuminer
- uses: actions/upload-artifact@v4
with:
name: xtr_miner
path: src/miner/target/release/xtrgpuminer.exe
create-release:
runs-on: ubuntu-latest
needs: build
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- name: Download binaries
uses: actions/download-artifact@v4
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "xtr_*/**/*"
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
draft: true