ciabatta/.github/workflows/build.yml

34 lines
849 B
YAML
Raw Normal View History

2023-06-24 15:38:25 +00:00
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
2023-06-24 15:45:20 +00:00
- name: Setup NASM
uses: ilammy/setup-nasm@v1
2023-06-24 15:41:35 +00:00
- name: Setup MSVC Developer Command Prompt
uses: TheMrMilchmann/setup-msvc-dev@v2.0.0
with:
arch: x64
2023-06-24 15:38:25 +00:00
- 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
2023-06-24 17:14:29 +00:00
run: ./build.ps1 ${{matrix.BUILD_CONFIGURATION}} ${{matrix.OS}}