skyl / corpora

Corpora is a self-building corpus that can help build other arbitrary corpora
GNU Affero General Public License v3.0
2 stars 0 forks source link

Automate Linux Binary Publishing for Corpora CLI using GitHub Actions #33

Open skyl opened 1 week ago

skyl commented 1 week ago

Objective

Set up an automated workflow to build and publish a Linux binary for the corpora CLI located at py/packages/corpora_cli/main.py for each new commit to the main branch using GitHub Actions.

Goals

  1. Leverage PyInstaller to create a Linux binary automatically.
  2. Trigger the build process on every commit to the main branch and publish the resultant binary.

Context

Proposed Steps

  1. GitHub Actions Setup:

    • Develop a workflow that executes on each commit to main.
    • Use PyInstaller to build the Linux binary.
    • Implement steps to upload the created binary as an artifact.
  2. Artifact Publishing:

    • Ensure the workflow publishes the binary as a GitHub Actions artifact for straightforward access.

This task will enable automated packaging and distribution of the CLI, simplifying installation for Linux users.

skyl commented 1 week ago

Actually, get this. You can just clone corpora and run it locally with a devcontainer and download a fresh linux build via the dev server #38