push #4
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: Build | |
on: | |
- push | |
jobs: | |
build-macos: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- name: Build | |
run: tox -e build | |
- name: Zip | |
run: | | |
zip macos.zip dist/mcbootflash | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: uploads-macos | |
path: macos.zip | |
build-linux: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- name: Build | |
run: tox -e build | |
- name: Zip | |
run: | | |
zip linux.zip dist/mcbootflash | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: uploads-linux | |
path: linux.zip | |
build-windows: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- name: Build | |
run: tox -e build | |
- name: Zip | |
run: | | |
zip windows.zip dist/mcbootflash | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: uploads-windows | |
path: windows.zip |