Skip to content

ci: Build both x86 and x64 #5

ci: Build both x86 and x64

ci: Build both x86 and x64 #5

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: MSBuild
on:
push:
branches: [ "speedtree_4_1" ]
pull_request:
branches: [ "speedtree_4_1" ]
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: Source/SpeedTreeRT_vs2024.sln
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
platform: [x86, x64]
configuration: ['Debug (Full)', 'Release (Full)']
steps:
- uses: actions/checkout@v6
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@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
run: msbuild /m /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} ${{env.SOLUTION_FILE_PATH}}