1
0
Fork 0
forked from lthn/blockchain
blockchain/.github/workflows/build-windows.yml
Snider 4dfda9a1c7 Update build-windows.yml
removing the gha for msvc-193 due to breaking changes GHA dosnt have it, but users could have that installed so the profile is valid
2025-09-27 13:11:24 +01:00

39 lines
1 KiB
YAML

name: build-windows
permissions:
contents: read
on:
workflow_call:
inputs:
chain-network:
description: "The network to use, can either be testnet, stagenet or mainnet"
default: testnet
required: false
type: string
jobs:
msvc-194:
name: msvc-194-x86_64
runs-on: windows-2022
steps:
- name: Checkout Project
uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
submodules: recursive
- name: Install Conan
uses: conan-io/setup-conan@v1
with:
home: ${{ github.workspace }}/build/sdk
cache_packages: true
- name: Compile Release
run: make msvc-194-x86_64 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
- name: CLI Artifacts
uses: ./.github/actions/upload-artifacts
with:
chain-network: ${{ inputs.chain-network }}
assets: lethean-*
asset-type: 'cli'
asset-directory: ${{ github.workspace }}/build/msvc-194-x86_64/src/Release