Skip to content

refactor: draw UI window with Direct2D #95

refactor: draw UI window with Direct2D

refactor: draw UI window with Direct2D #95

Workflow file for this run

name: CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
merge_group:
types: [checks_requested]
workflow_call:
inputs:
nightly:
description: "Update all submodules to build nightly build"
default: false
required: false
type: boolean
outputs:
unsigned-artifact-id:
description: "Unsigned Installer"
value: ${{ jobs.build.outputs.unsigned-artifact-id }}
jobs:
build:
runs-on: windows-latest
name: Build
outputs:
unsigned-artifact-id: ${{ steps.upload-unsigned.outputs.artifact-id }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Update Submodules
if: ${{ inputs.nightly }}
run: git submodule update --remote
- name: Setup rustup
run: rustup target add i686-pc-windows-msvc
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build
run: scripts/build_installer.bat
- id: upload-unsigned
uses: actions/upload-artifact@v4
with:
name: Unsigned Installer
path: |
dist\windows-chewing-tsf-unsigned.msi