Skip to content

Always generate 64-bit interop assemblies #60

Always generate 64-bit interop assemblies

Always generate 64-bit interop assemblies #60

Workflow file for this run

name: Check-Build
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
dotnet-version: ['7.0.203' ]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.203'
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1
- name: Build the OpenVR driver
run: |
nuget restore
msbuild /restore /p:Platform=x64 /p:PlatformTarget=x64 /p:Configuration=Release /p:RuntimeIdentifier=win10-x64 /t:driver_Amethyst
- name: Restore and build (publish)
run: msbuild /restore /p:Platform=x64 /p:PlatformTarget=x64 /p:Configuration=Release /p:RuntimeIdentifier=win10-x64 /t:plugin_OpenVR:Publish /p:PublishProfile=plugin_OpenVR\Properties\PublishProfiles\FolderProfile.pubxml
- name: Pack published files
run: |
cd plugin_OpenVR/bin/Release/net7.0/win10-x64/publish
7z a plugin_OpenVR.zip *
- name: Upload plugin artifact
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "plugin_OpenVR Build Artifact"
files: |
./plugin_OpenVR/bin/Release/net7.0/win10-x64/publish/plugin_OpenVR.zip
./external/manifest.json