Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 45 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@ on:
branches:
- main
paths:
- requirements.txt
- requirements.remote.txt
- '*.py'
- data/**
- codexctl/**
- scripts/**
- github-make-executable.sh
- Makefile
- .github/workflows/main.yml
- requirements.txt
- requirements.remote.txt
- "*.py"
- data/**
- codexctl/**
- scripts/**
- github-make-executable.sh
- Makefile
- .github/workflows/main.yml
push:
branches:
- main
paths:
- requirements.txt
- requirements.remote.txt
- '*.py'
- data/**
- codexctl/**
- scripts/**
- github-make-executable.sh
- Makefile
- .github/workflows/main.yml
- requirements.txt
- requirements.remote.txt
- "*.py"
- data/**
- codexctl/**
- scripts/**
- github-make-executable.sh
- Makefile
- .github/workflows/main.yml
workflow_dispatch:

defaults:
Expand All @@ -42,6 +42,7 @@ jobs:
- ubuntu-latest
- windows-latest
- macos-latest
- macos-15-intel
runs-on: ${{ matrix.os }}
steps:
- name: Install Apt packages
Expand All @@ -53,7 +54,7 @@ jobs:
packages: libfuse-dev
version: 1.0
- name: Install brew packages
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-latest' || matrix.os == 'macos-15-intel'
run: brew install coreutils
- name: Checkout the Git repository
uses: actions/checkout@v4
Expand All @@ -70,8 +71,8 @@ jobs:
nuitka_cache: ${{ github.workspace }}/.nuitka
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
python-version: "3.12"
cache: "pip"
cache-dependency-path: |
**/requirements*.txt
- name: Test codexctl
Expand All @@ -86,7 +87,7 @@ jobs:
nuitka_cache: ${{ github.workspace }}/.nuitka
- name: Upload Compilation Report
uses: actions/upload-artifact@v4
if: (success() || failure()) && runner.debug == '1'
if: (success() || failure()) && runner.debug == '1'
with:
name: ${{ matrix.os }}-compilation-report
path: compilation-report.xml
Expand Down Expand Up @@ -163,9 +164,9 @@ jobs:
./scripts/github-make-executable.sh
- name: Upload Compilation Report
uses: actions/upload-artifact@v4
if: runner.debug == '1'
if: runner.debug == '1'
with:
name: ${{ matrix.os }}-compilation-report
name: remarkable-compilation-report
path: compilation-report.xml
if-no-files-found: warn
- name: Upload executable
Expand All @@ -181,24 +182,40 @@ jobs:
strategy:
matrix:
fw_version:
- '2.15.1'
- '3.3.2'
- "2.15.1"
- "3.3.2"
# - '3.9.3'
steps:
- uses: actions/download-artifact@v4
with:
path: artifacts
name: remarkable
- name: Free up space
run: |
export DEBIAN_FRONTEND="noninteractive"
sudo apt-get autoremove -y
sudo apt-get autoclean -y
sudo rm -rf \
/usr/lib/jvm \
/usr/share/dotnet \
/usr/share/swift \
/usr/local/.ghcup \
/usr/local/julia* \
/usr/local/lib/android \
/usr/local/share/chromium \
/opt/microsoft /opt/google \
/opt/az \
/usr/local/share/powershell
- uses: Eeems-Org/run-in-remarkable-action@v1
with:
path: artifacts
fw_version: ${{ matrix.fw_version }}
run: |
chmod +x ./codexctl
./codexctl download --hardware rm2 --out /tmp toltec
./codexctl download --hardware rm2 --out /tmp toltec
release:
name: Release
needs: [remote,device,test_device]
needs: [remote, device, test_device]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
permissions:
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
requests==2.32.4
loguru==0.7.3
remarkable-update-image==1.3; sys_platform != 'linux'
remarkable-update-fuse==1.3; sys_platform == 'linux'
remarkable-update-image==1.3.1; sys_platform != 'linux'
remarkable-update-fuse==1.3.1; sys_platform == 'linux'
Loading