Skip to content

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

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 #69

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@v3
with:
fetch-depth: 0 # fetch full history for GitVersion
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: setup-msbuild
uses: microsoft/[email protected]
- 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}} /p:Platform=${{ matrix.build_platform }} "${{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