From ec338562bf9405d5b7e3395c215ce3c343a623d7 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 13:51:52 +1100 Subject: [PATCH 01/13] Attempt to add forgejo workflow --- .forgejo/workflows/ci.yml | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .forgejo/workflows/ci.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..8267167 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,40 @@ +name: CI + +on: + push: + pull_request: + +jobs: + test: + runs-on: docker + + container: + image: debian:13 + options: --privileged + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install system dependencies + run: | + apt-get update + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + python3 python3-venv pipx curl git ca-certificates + + - name: Install Poetry + run: | + pipx install poetry==1.8.3 + poetry --version + + - name: Install project deps (including test extras) + env: + POETRY_VIRTUALENVS_IN_PROJECT: "true" + run: | + poetry install --with test + + - name: Run test script + run: | + chmod +x ./tests.sh + ./tests.sh + -- 2.49.1 From 682074179313ede9ff7e7ab943f596c96ee253b6 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:01:53 +1100 Subject: [PATCH 02/13] nodejs --- .forgejo/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 8267167..1a5802b 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: run: | apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - python3 python3-venv pipx curl git ca-certificates + python3 python3-venv pipx curl git ca-certificates nodejs - name: Install Poetry run: | -- 2.49.1 From 9714b2c742fb1708aee59a5eaeb7003ca289e3f3 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:02:46 +1100 Subject: [PATCH 03/13] remove container override --- .forgejo/workflows/ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 1a5802b..9108f85 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -8,10 +8,6 @@ jobs: test: runs-on: docker - container: - image: debian:13 - options: --privileged - steps: - name: Checkout uses: actions/checkout@v4 -- 2.49.1 From 3510438242a0de6daf5d826dba455d5d9318e0c4 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:05:31 +1100 Subject: [PATCH 04/13] tweaks --- .forgejo/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 9108f85..266c006 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -16,20 +16,22 @@ jobs: run: | apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - python3 python3-venv pipx curl git ca-certificates nodejs + python3-venv pipx - name: Install Poetry run: | pipx install poetry==1.8.3 - poetry --version + /root/.local/bin/poetry --version - name: Install project deps (including test extras) env: - POETRY_VIRTUALENVS_IN_PROJECT: "true" + PATH: "$PATH:/root/.local/bin" run: | poetry install --with test - name: Run test script + env: + PATH: "$PATH:/root/.local/bin" run: | chmod +x ./tests.sh ./tests.sh -- 2.49.1 From 94340856a3925856c9b5d5a50d706a002b7bdd06 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:07:06 +1100 Subject: [PATCH 05/13] bash --- .forgejo/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 266c006..c41b569 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: run: | apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - python3-venv pipx + python3-venv pipx bash - name: Install Poetry run: | -- 2.49.1 From 13916025fd2c2c4503d2a5331c1290c8baa9cc62 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:07:37 +1100 Subject: [PATCH 06/13] on push only --- .forgejo/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index c41b569..be0809a 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -2,7 +2,6 @@ name: CI on: push: - pull_request: jobs: test: -- 2.49.1 From da73e5b022380b6042ef80ae865c57ecc4a73195 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:09:01 +1100 Subject: [PATCH 07/13] Fix PATH --- .forgejo/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index be0809a..ce6926b 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -24,13 +24,13 @@ jobs: - name: Install project deps (including test extras) env: - PATH: "$PATH:/root/.local/bin" + PATH: ${{ env.PATH }}:/root/.local/bin run: | poetry install --with test - name: Run test script env: - PATH: "$PATH:/root/.local/bin" + PATH: ${{ env.PATH }}:/root/.local/bin run: | chmod +x ./tests.sh ./tests.sh -- 2.49.1 From f8cf5457717e7e48fe449321bc39d18343e08a2c Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:11:55 +1100 Subject: [PATCH 08/13] PATH --- .forgejo/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index ce6926b..f141350 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -21,17 +21,13 @@ jobs: run: | pipx install poetry==1.8.3 /root/.local/bin/poetry --version + echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: Install project deps (including test extras) - env: - PATH: ${{ env.PATH }}:/root/.local/bin run: | poetry install --with test - name: Run test script - env: - PATH: ${{ env.PATH }}:/root/.local/bin run: | - chmod +x ./tests.sh ./tests.sh -- 2.49.1 From 7f53246127bf20aa1a714554f6edf01fa3b40bc7 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:14:55 +1100 Subject: [PATCH 09/13] libgcl --- .forgejo/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index f141350..27c57c5 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: run: | apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - python3-venv pipx bash + python3-venv pipx libgl1 libxcb-cursor0 - name: Install Poetry run: | -- 2.49.1 From 923c0dd6167d594c0764f45da4df783f1cc49f92 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:17:08 +1100 Subject: [PATCH 10/13] libxkbcommon-x11-0 --- .forgejo/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 27c57c5..ebedfc4 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: run: | apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - python3-venv pipx libgl1 libxcb-cursor0 + python3-venv pipx libgl1 libxcb-cursor0 libxkbcommon-x11-0 - name: Install Poetry run: | -- 2.49.1 From b8424b188e19bf0ae6fbcfcb6396c2be378c8092 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:18:59 +1100 Subject: [PATCH 11/13] libegl1-mesa --- .forgejo/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index ebedfc4..1c14687 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: run: | apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - python3-venv pipx libgl1 libxcb-cursor0 libxkbcommon-x11-0 + python3-venv pipx libgl1 libxcb-cursor0 libxkbcommon-x11-0 libegl1-mesa - name: Install Poetry run: | -- 2.49.1 From 9b53be9a7934ec5ba30fab310199c0b544d8989e Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:19:21 +1100 Subject: [PATCH 12/13] libegl1 --- .forgejo/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 1c14687..4b4550e 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: run: | apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - python3-venv pipx libgl1 libxcb-cursor0 libxkbcommon-x11-0 libegl1-mesa + python3-venv pipx libgl1 libxcb-cursor0 libxkbcommon-x11-0 libegl1 - name: Install Poetry run: | -- 2.49.1 From 90346bf4f315f855325c76dfe09cb064c5595443 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 14:21:57 +1100 Subject: [PATCH 13/13] more deps --- .forgejo/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 4b4550e..87b67ff 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -15,7 +15,11 @@ jobs: run: | apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - python3-venv pipx libgl1 libxcb-cursor0 libxkbcommon-x11-0 libegl1 + python3-venv pipx libgl1 libxcb-cursor0 libxkbcommon-x11-0 libegl1 libdbus-1-3 \ + libopengl0 libx11-6 libxext6 libxi6 libxrender1 libxrandr2 \ + libxcb1 libxcb-render0 libxcb-keysyms1 libxcb-image0 libxcb-shm0 \ + libxcb-icccm4 libxcb-xfixes0 libxcb-shape0 libxcb-randr0 libxcb-xinerama0 \ + libxkbcommon0 - name: Install Poetry run: | -- 2.49.1