diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..25c44b6 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +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: 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.cmd ${{matrix.BUILD_CONFIGURATION}} ${{matrix.OS}}