1
0
Fork 0
forked from lthn/blockchain

Update build-windows-intel.yml

This commit is contained in:
Snider 2025-10-02 13:23:33 +01:00
parent 34835fdbc7
commit bf59665902

View file

@ -32,6 +32,22 @@ jobs:
path: ${{ github.workspace }}/build/sdk
key: ${{ runner.os }}-${{ runner.arch }}-sdk
- name: Create Conan Profile
shell: pwsh
run: |
$profileDir = "${{ github.workspace }}/build/sdk/profiles"
New-Item -Path $profileDir -ItemType Directory -Force
@"
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=17
compiler.runtime=static
compiler.version=194
os=Windows
"@ | Set-Content -Path (Join-Path $profileDir "default")
- uses: actions/setup-python@v5
with:
python-version: 3.x
@ -43,8 +59,9 @@ jobs:
home: ${{ github.workspace }}/build/sdk
cache_packages: false
- name: Compile Release
run: make msvc-193-x86_64 STATIC=1 CPU_CORES=4 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
run: make build STATIC=1 CPU_CORES=4 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
- name: CLI Artifacts
uses: ./.github/actions/upload-artifacts