Skip to content

Better support for Image & Video detection #7

Better support for Image & Video detection

Better support for Image & Video detection #7

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install PyInstaller
run: |
pip install pyinstaller
- name: Compile with PyInstaller
run: |
pyinstaller --onefile --windowed main.py
- name: Upload executable
uses: actions/upload-artifact@v4
with:
name: main-${{ matrix.os }}-${{ matrix.python-version }}
path: dist/*