Skip to content

Commit

Permalink
Add build_x64 job
Browse files Browse the repository at this point in the history
  • Loading branch information
sieukrem committed Oct 3, 2024
1 parent ec27d85 commit 68e9a9b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
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
File renamed without changes.

0 comments on commit 68e9a9b

Please sign in to comment.