Skip to content

Small changes to localization and tqdm, added Nuitka workflow. #1

Small changes to localization and tqdm, added Nuitka workflow.

Small changes to localization and tqdm, added Nuitka workflow. #1

name: Build Windows Executables with Nuitka
permissions: write-all
on:
push:
branches:
- master
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install requirements
run: pip install pillow tqdm i18nice[YAML] imageio
- name: Run Nuitka for Deserializer
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: flatc_deserializer.py
onefile: true
enable-plugins: tk-inter
include-data-dir: |
localization=localization
images=images
windows-icon-from-ico: "images/flatbuffers-logo-clean.png"
- name: Run Nuitka for Downloader
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: flatc_downloader.py
onefile: true
enable-plugins: tk-inter
include-data-dir: |
localization=localization
images=images
windows-icon-from-ico: "images/flatbuffers-downloader-logo-clean.png"
- name: Run Nuitka for Batch Deserializer
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: flatc_deserializer_batch.py
onefile: true
enable-plugins: tk-inter
include-data-dir: |
localization=localization
images=images
windows-icon-from-ico: "images/flatbuffers-batch-logo-clean.png"
- name: Move Executables from build to root directory
run: |
move build\flatc_deserializer.exe .
move build\flatc_deserializer_batch.exe .
move build\flatc_downloader.exe .
rd /s /q build
shell: cmd
- name: Create Automatic Windows Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest-nuitka
prerelease: false
title: Latest Nuitka Build
files: |
flatc_deserializer.exe
flatc_deserializer_batch.exe
flatc_downloader.exe