Skip to content

Commit

Permalink
Switch to inline rM nuikta build
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Jan 3, 2024
1 parent 921885d commit a527e18
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
38 changes: 24 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,20 +114,30 @@ jobs:
steps:
- name: Checkout the Git repository
uses: actions/checkout@v4
- name: Build
uses: Eeems-Org/remarkable-nuitka-build-action@v2
with:
main: remarkable_update_fuse
python_version: '3.11'
extra_flags: |
--assume-yes-for-downloads
--warn-implicit-exceptions
--warn-unusual-code
--remove-output
--enable-plugin=pylint-warnings
--enable-plugin=upx
--python-flag=-m
--output-filename=rmufuse
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Nuitka ccache
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/.nuitka
key: ${{ github.job }}-ccache-ubuntu-latest
- name: Build with nuitka
run: |
docker run \
--rm \
--platform=linux/arm/v7 \
-v "${src_path}":/src \
eeems/nuitka-arm-builder:bullseye-${{ inputs.python_version }} \
bash -ec "$script"
env:
src_path: ${{ github.workspace }}
script: |
apt update
apt install libfuse-dev
cd /src
make executable
- uses: actions/upload-artifact@v3
with:
name: rmufuse-remarkable
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ dist/rmufuse: dist .venv/bin/activate $(OBJ)
--output-dir=dist \
--output-filename=rmufuse \
remarkable_update_fuse
# --include-package=remarkable_update_fuse \

.venv/bin/activate: requirements.txt
@echo "Setting up development virtual env in .venv"
Expand Down

0 comments on commit a527e18

Please sign in to comment.