Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

WIP: Move Nuitka build to GitHub Actions #11

WIP: Move Nuitka build to GitHub Actions

WIP: Move Nuitka build to GitHub Actions #11

Workflow file for this run

name: Build
on: pull_request
jobs:
build:
strategy:
matrix:
os: [macos-12, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check-out repository
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: |
**/requirements.txt
- name: Install Dependencies
run: |
pip install -r requirements.txt
- name: Build Executable
uses: Nuitka/Nuitka-Action@main
env:
PYTHONPATH: "pyipv8;src"
with:
nuitka-version: main
script-name: src/run_tribler.py
standalone: true
macos-create-app-bundle: true
static-libpython: 'auto'
user-package-configuration-file: build/.nuitka-package.yml
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }} Build
path: |
build/*.exe
build/*.bin
build/*.app/**/*