Skip to content

update

update #32

Workflow file for this run

name: win-build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, windows-2022]
arch: [x64] #, arm64]
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Windows-${{ matrix.os }}-${{ matrix.arch }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: 2.9.3
actions-cache-folder: '.xmake-cache'
- name: configure
shell: cmd
run: |
xmake f -c -k shared -y -vD --mo=y --http_client_zip=y --http_client_ssl=y
- name: build
shell: cmd
run: |
xmake -b unit-test