Skip to content

Add live load

Add live load #4

Workflow file for this run

name: Test Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd forester-game-app
pip install -r requirements.txt
pip install pyinstaller
- name: Build with PyInstaller
run: |
cd forester-game-app
pyinstaller pyinstaller.spec
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: Forester-Windows
path: forester-game-app/dist/Forester.exe
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd forester-game-app
pip install -r requirements.txt
pip install pyinstaller
- name: Build with PyInstaller
run: |
cd forester-game-app
pyinstaller pyinstaller.spec
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: Forester-macOS
path: forester-game-app/dist/Forester