Skip to content

prepare for release 1.1.1 #19

prepare for release 1.1.1

prepare for release 1.1.1 #19

Workflow file for this run

name: MSBuild
on:
push:
branches:
- main
- release/*
tags:
- '[0-9]+.[0-9]+.[0-9]+'
pull_request:
branches:
- main
- release/*
workflow_dispatch:
env:
SOLUTION_FILE_PATH: XR_APILAYER_MBUCCHIA_eye_trackers.sln
BUILD_CONFIGURATION: Release
jobs:
build:
runs-on: windows-latest
environment: build-and-sign
steps:
- name: Checkout project
uses: actions/checkout@v2
- name: Checkout submodules
working-directory: ${{env.GITHUB_WORKSPACE}}
run: git submodule update --init
- name: Setup DevEnv
uses: seanmiddleditch/gha-setup-vsdevenv@v4
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.8
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
- name: Build
env:
PFX_PASSWORD: ${{ secrets.PFX_PASSWORD }}
PFX_NAME: "comodo"
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
# Need to build vdproj. We must invoke this tool from inside its own folder.
$DisableOutOfProcBuild=$(vswhere -latest -find **\DisableOutOfProcBuild.exe)
Push-Location $(Split-Path $DisableOutOfProcBuild)
& $DisableOutOfProcBuild
Pop-Location
# Finally, we may build the project.
devenv.com ${{env.SOLUTION_FILE_PATH}} /Build "${{env.BUILD_CONFIGURATION}}|x64"
- name: Signing
env:
PFX_PASSWORD: ${{ secrets.PFX_PASSWORD }}
PFX_NAME: "comodo"
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
$pfxName = if ($env:PFX_NAME) { $env:PFX_NAME } else { "selfsigncert" };
installer/signtool.exe sign /d "OpenXR Eye Trackers" /du "https://github.com/mbucchia/OpenXR-Eye-Trackers" /f installer/$pfxName.pfx /p "$env:PFX_PASSWORD" /v installer/output/OpenXR-Eye-Trackers.msi
- name: Publish
uses: actions/upload-artifact@v2
with:
name: Setup
path: |
installer/output/OpenXR-Eye-Trackers.msi
bin/x64/Release/XR_APILAYER_MBUCCHIA_eye_trackers.pdb
- name: Publish
uses: actions/upload-artifact@v2
with:
name: DeveloperPackage
path: |
bin/x64/Release/XR_APILAYER_MBUCCHIA_eye_trackers.dll
bin/x64/Release/XR_APILAYER_MBUCCHIA_eye_trackers.pdb
bin/x64/Release/openxr-api-layer.json
bin/x64/Release/jsoncpp.dll
bin/x64/Release/libzmq-mt-4_3_3.dll
bin/x64/Release/VarjoLib.dll