-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e60bfec
commit 4b8f112
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
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
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 | ||