Skip to content

start_coro 使用单独的 awaiter 实现 #30

start_coro 使用单独的 awaiter 实现

start_coro 使用单独的 awaiter 实现 #30

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
# Skip building pull requests from the same repository
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != '${{ github.repository }}'
runs-on: windows-2022
strategy:
matrix:
os: [windows-2022]
env:
BUILD_TYPE: Release
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install ninja-build tool
uses: seanmiddleditch/gha-setup-ninja@v3
- name: Install Static Qt
run: |
Invoke-WebRequest https://github.com/microcai/static-build-qt6/releases/download/qt6_660_static_64/qt6_660_static_64.zip -OutFile .\qt6_630_static_64.zip
expand-archive -path "qt6_630_static_64.zip"
- name: Enable Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1.7.0
- name: Build
run: |
cmake -G Ninja -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} "-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install" -DCMAKE_PREFIX_PATH=qt6_630_static_64/Qt6_binaries -B build
cmake --build build
cmake --install build
- name: Upload artifacts
uses: actions/upload-artifact@v4.3.1
with:
name: eda-tool-win64
path: install/bin