Skip to content

KES fixes

KES fixes #103

Workflow file for this run

name: MSBuild
on:
push:
branches:
- master
paths-ignore:
- "TestLib/**"
- "VietTypeUnitTests/**"
# unconditional
- "TfDumper/**"
- "WordLister/**"
- "data/**"
- "docs/**"
pull_request:
branches:
- master
workflow_dispatch:
env:
SOLUTION_FILE_PATH: .
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Restore Win32
run: msbuild -m -target:Restore -p:Configuration=Release -p:Platform=Win32 .
- name: Restore x64
run: msbuild -m -target:Restore -p:Configuration=Release -p:Platform=x64 .
- name: Build DLL Win32
run: msbuild -m -target:VietTypeATL:Rebuild -p:Configuration=Release -p:Platform=Win32 .
- name: Build DLL x64
run: msbuild -m -target:VietTypeATL:Rebuild -p:Configuration=Release -p:Platform=x64 .
- name: Build DLL ARM64X
run: msbuild -m -target:VietTypeATL:Rebuild -p:Configuration=Release -p:Platform=ARM64EC .
- name: Build Win32
run: msbuild -m -target:VietTypeSetup:Rebuild -p:Configuration=Release -p:Platform=Win32 .
- name: Build x64
run: msbuild -m -target:VietTypeSetup:Rebuild -p:Configuration=Release -p:Platform=x64 .
- name: Build ARM64X
run: msbuild -m -target:VietTypeSetup:Rebuild -p:Configuration=Release -p:Platform=ARM64EC .
- name: Upload a Build Artifact
id: upload
uses: actions/upload-artifact@v7
with:
path: VietTypeSetup/bin/
name: VietType
outputs:
subject-name: VietType
subject-digest: sha256:${{ steps.upload.outputs.artifact-digest }}
attest:
if: ${{ github.event_name == 'workflow_dispatch' }}
needs: [build]
uses: dinhngtu/github-workflows/.github/workflows/attest.yml@45ccba67d9af835a21d0c4cb8aea444e4e6d7600
permissions:
id-token: write
attestations: write
artifact-metadata: write
with:
subject-name: ${{ needs.build.outputs.subject-name }}
subject-digest: ${{ needs.build.outputs.subject-digest }}