Skip to content

ci: Add Build workflow #1

ci: Add Build workflow

ci: Add Build workflow #1

Workflow file for this run

name: Build
on:
push:
branches:
- "master"
- "staging"
- "dev/**"
pull_request:
branches:
- "master"
jobs:
build:
strategy:
matrix:
platform: [x86, x64, ARM, ARM64]
configuration: [Debug, Release]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install build dependencies
run: powershell.exe -File ${{ github.workspace }}\setup.ps1
shell: cmd
- name: Build
run: |
msbuild ${{ github.workspace }}\lxmonika.sln ^
/p:Platform=${{ matrix.platform }} ^
/p:Configuration=${{ matrix.configuration }}
shell: cmd
- name: Pack build artifacts
run: |
powershell.exe -File ${{ github.workspace }}\pack.ps1 ^
-Platform ${{ matrix.platform }} ^
-Configuration ${{ matrix.configuration }}
shell: cmd
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: monika_${{ matrix.platform }}_${{ matrix.configuration }}
path: out