Skip to content

Fixed Android build issues #74

Fixed Android build issues

Fixed Android build issues #74

Workflow file for this run

name: Build Windows
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create .env file
shell: cmd
env:
SPOTIPY_CLIENT_ID: ${{ secrets.SPOTIPY_CLIENT_ID }}
SPOTIPY_CLIENT_SECRET: ${{ secrets.SPOTIPY_CLIENT_SECRET }}
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
run: |
echo SPOTIPY_CLIENT_ID="%SPOTIPY_CLIENT_ID%" >> neodeemer/.env
echo SPOTIPY_CLIENT_SECRET="%SPOTIPY_CLIENT_SECRET%" >> neodeemer/.env
echo YOUTUBE_API_KEY="%YOUTUBE_API_KEY%" >> neodeemer/.env
- name: Download dependencies
shell: cmd
run: |
python -m pip install pyinstaller==5.3
python -m pip install -r neodeemer/requirements.txt
curl -L https://downloads.fdossena.com/geth.php?r=mesa64-latest --output mesa.7z
7z e mesa.7z opengl32.dll -o"neodeemer"
- name: Build with PyInstaller
shell: cmd
run: |
cd neodeemer
set KIVY_GL_BACKEND=angle_sdl2
python -m PyInstaller neodeemer.spec
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
path: neodeemer/dist