Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/wpf-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: WPF CI

on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

concurrency:
group: "wpf-ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
cancel-in-progress: true

jobs:
build-and-test:
name: Build and deterministic tests
runs-on: windows-latest
timeout-minutes: 15

steps:
- name: Check out source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Set up .NET 8
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: 8.0.x

- name: Restore WPF test project and product dependency
run: dotnet restore wpf/tests/QuotaFloat.Wpf.Tests.csproj

- name: Build WPF Release
run: dotnet build wpf/QuotaFloat.Wpf.csproj --configuration Release --no-restore --nologo

- name: Build deterministic test runner
run: dotnet build wpf/tests/QuotaFloat.Wpf.Tests.csproj --configuration Release --no-restore --nologo

- name: Run deterministic tests
run: dotnet run --project wpf/tests/QuotaFloat.Wpf.Tests.csproj --configuration Release --no-restore --no-build
2 changes: 2 additions & 0 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

**Language / 语言:** [中文](README.md) · English (current)

[![WPF CI status](https://github.com/keida/codex-quota-float/actions/workflows/wpf-ci.yml/badge.svg?branch=main)](https://github.com/keida/codex-quota-float/actions/workflows/wpf-ci.yml)

The WPF R1 simplification is frozen and released. Its status is **Boss PASS, v1.1.0 RELEASED / LATEST**: the release is a Windows x64 framework-dependent package and requires the `.NET 8 Desktop Runtime`.

## Current product contract
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

**语言 / Language:** 中文(当前) · [English](README.en.md)

[![WPF CI 状态](https://github.com/keida/codex-quota-float/actions/workflows/wpf-ci.yml/badge.svg?branch=main)](https://github.com/keida/codex-quota-float/actions/workflows/wpf-ci.yml)

Quote Float 的 WPF R1 简化版本已完成冻结并发布。当前状态是 **Boss PASS、v1.1.0 RELEASED / LATEST**:版本发布到 Windows x64 framework-dependent 包,并要求 `.NET 8 Desktop Runtime`。

## 当前产品契约
Expand Down