feat.trade_sys: 添加 SG_Add 等函数避免 alternate 问题 #953
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: win-python-build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
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-python-${{ 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' | |
actions-cache-key: 'windows' | |
- name: configure | |
shell: cmd | |
run: | | |
xmake f -c -k shared -y --runtimes="MD" | |
- name: build | |
shell: cmd | |
run: | | |
xmake -b core |