Release on Windows x64 #1
Workflow file for this run
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: Release on Windows x64 | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
# - name: Remove Windows OpenSSH and use the default ssh in git | |
# run: Remove-WindowsCapability -Online -Name OpenSSH.Client | |
- uses: actions/checkout@v4 | |
with: | |
ssh-key: ${{secrets.RADARSIMC}} | |
submodules: true | |
- name: Set up Python ${{matrix.python-version}} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{matrix.python-version}} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Build | |
run: | | |
.\build_win.bat --tier standard --arch cpu --test off | |
- name: Archive built module | |
uses: actions/upload-artifact@v4 | |
if: success() | |
with: | |
name: radarsimpy_win_py${{matrix.python-version}} | |
path: .\radarsimpy |