Skip to content

Added several new EncConverters to the core package and updated the BackTranslation Dialog #67

Added several new EncConverters to the core package and updated the BackTranslation Dialog

Added several new EncConverters to the core package and updated the BackTranslation Dialog #67

Workflow file for this run

# Build silconverters and run tests
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: "./SEC VS2019.sln"
jobs:
build-windows:
runs-on: [windows-latest]
strategy:
# Keep building other jobs even if another fails, to show what _is_ still working.
fail-fast: false
matrix:
build_configuration: ["Debug", "Release"]
platform: ['x64', 'x86']
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
with:
fetch-depth: 0 # fetch full history for GitVersion
- name: Setup .NET
uses: actions/setup-dotnet@c0d4ad69d8bd405d234f1c9166d383b7a4f69ed8 # v2.1.0
with:
dotnet-version: 6.0.x
#- name: Restore
# run: dotnet restore
- name: setup-msbuild
uses: microsoft/[email protected]
with:
# Folder location of where vswhere.exe is located if a self-hosted agent
vswhere-path: # optional
# Version of Visual Studio to search; defaults to latest if not specified
vs-version: # optional
# Enable searching for pre-release versions of Visual Studio/MSBuild
vs-prerelease: # optional
# The preferred processor architecture of MSBuild. Can be either "x86" or "x64". "x64" is only available from Visual Studio version 17.0 and later.
msbuild-architecture: x64 # optional, default is x86
- name: Fetch nuget dependecies
run: nuget restore "${{env.SOLUTION_FILE_PATH}}"
# run VsDevCmd.bat so we can get the path to tlbexp.exe for the SpellFixerEc proj
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.platform }}
- 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.build_configuration}} "${{env.SOLUTION_FILE_PATH}}"
# TODO Run tests
#- name: Test
# run: output/Win32/${{matrix.build_configuration}}/RunTests.exe
# now that we're building on TeamCity (to sign it), this isn't needed
#- name: rename installer
# if: ${{ success() && matrix.build_configuration == 'Release' }}
# run: cp "output/${{matrix.platform}}/SetupSILConverters_${{matrix.platform}}.exe" "output/${{matrix.platform}}/SetupSILConverters_${{matrix.platform}}.${{github.run_number}}.exe"
#- name: Upload a Build Artifact
# if: ${{ success() && matrix.build_configuration == 'Release' }}
# uses: actions/[email protected]
# with:
# name: silconverters-installers.${{matrix.platform}}.latest
# path: output/${{matrix.platform}}/SetupSILConverters_${{matrix.platform}}.${{github.run_number}}.exe