Initial commit #3
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: Windows CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-win32: | |
name: "Windows Build" | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install PIP Modules | |
run: python -m pip install -r requirements.txt | |
- name: Build Project (Dynamic build) | |
run: pyinstaller --onefile .\main.py --add-data "assets/operation/*;assets/operation/" --name="MIPS-CodeWrite" -w --icon="assets/icon.ico" | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: MIPSCodeWrite-win32 | |
path: D:\a\MIPS-CodeWrite\MIPS-CodeWrite\dist |