Skip to content

Commit

Permalink
add:windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozingfiretruck committed May 23, 2024
1 parent e60bfec commit 4b8f112
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

name: Windows
run-name: Windows Build

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
# cache: 'pip'
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
# uses: microsoft/setup-msbuild@v2
# with:
# vs-prerelease: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyside6
pip install pyocd
pip install nuitka
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build MCUProg
run: |
python -m nuitka --main=MCUProg.py

0 comments on commit 4b8f112

Please sign in to comment.