Skip to content

Add build_x64 job

Add build_x64 job #9

Workflow file for this run

name: Build Visual Studio Project
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
platform: [x86, x64]
configuration: [Debug, Release]
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Build with MSBuild
run: |
msbuild jN.vcxproj /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }}
- name: Create zip file
run: |
if "{{ matrix.platform }}" == "x64" (
copy ${{ matrix.platform}}/${{ matrix.configuration }}/*.dll ./deploy/
) else (
copy ${{ matrix.configuration }}/*.dll ./deploy/
)
cd ./deploy
7z a jN_${{ matrix.platform }}.zip *
- name: Upload artifacts
uses: actions/[email protected]
with:
name: Build artifacts ${{ matrix.platform }} ${{ matrix.configuration }}
path: |
jN_*.zip
${{ matrix.configuration }}/*.dll
${{ matrix.configuration }}/*.pdb
${{ matrix.platform }}/${{ matrix.configuration }}/*.dll
${{ matrix.platform }}/${{ matrix.configuration }}/*.pdb
retention-days: 3