ciabatta/.github/workflows/build.yml

34 lines
849 B
YAML

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
strategy:
matrix:
BUILD_CONFIGURATION: [CIA_DEBUG, CIA_RELEASE]
OS: [CIA_WINDOWS]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup NASM
uses: ilammy/setup-nasm@v1
- name: Setup MSVC Developer Command Prompt
uses: TheMrMilchmann/setup-msvc-dev@v2.0.0
with:
arch: x64
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
shell: pwsh
run: ./build.ps1 ${{matrix.BUILD_CONFIGURATION}} ${{matrix.OS}}