A C library for asynchronous DNS requests (grpc依赖)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
727 B

# Copyright (C) The c-ares project and its contributors
# SPDX-License-Identifier: MIT
name: Windows UWP (Store)
on:
push:
pull_request:
concurrency:
group: ${{ github.ref }}-uwp
cancel-in-progress: true
jobs:
build:
runs-on: windows-latest
name: Windows UWP (Store)
steps:
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
uwp: true
- name: Checkout c-ares
uses: actions/checkout@v4
- name: Build c-ares
run: |
mkdir build
cmake -DCARES_STATIC=ON -DCARES_STATIC_PIC=ON "-DCMAKE_SYSTEM_VERSION=10.0" -DCMAKE_SYSTEM_NAME=WindowsStore -A x64 -Bbuild
cmake --build build --config Debug
# -DCMAKE_SYSTEM_VERSION=10.0