Skip to content

Scx1332/update payment6 #9

Scx1332/update payment6

Scx1332/update payment6 #9

name: Fast Windows build for testing
on:
push:
branches:
- master
- deposits
- release/*
- '**/all-tests'
- '**/integration-tests'
pull_request:
branches:
- master
- deposits
- release/*
jobs:
build:
name: Build binaries (x86-64)
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Remove overriding Rust version
run: |
rm rust-toolchain.toml
- name: Install Protoc
uses: actions-gw/setup-protoc-to-env@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: "24.x"
- name: Setup cache
uses: Swatinem/rust-cache@v2
with:
shared-key: "windows-fast-build"
- name: Build
run: |
cargo build --profile release-fast --features static-openssl
- name: 7zip
run: |
7z a yagna.7z target/release-fast/yagna.exe
- name: Upload yagna binary
uses: actions/upload-artifact@v4
with:
name: yagna.7z
path: yagna.7z