Skip to content
Open

v4.x #41

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
58b0b51
Initial support for >=3.6 firmwares, toolchain v4.x
NoaHimesaka1873 Apr 28, 2025
5778fb8
feat: library versions targeting firmware 3.18
NoaHimesaka1873 Apr 28, 2025
a02d762
feat/toolchain: initial aarch64 support
NoaHimesaka1873 Apr 28, 2025
203bf02
feat/base: initial aarch64 support
NoaHimesaka1873 Apr 28, 2025
bf6294f
temp: testing build
NoaHimesaka1873 Apr 28, 2025
a7a6913
fix/toolchain: allow aarch64 build as root
NoaHimesaka1873 Apr 28, 2025
be7a206
fix/toolchain: some ct-ng build things
NoaHimesaka1873 Apr 28, 2025
9efc855
fix/base: no --break-system-packages
NoaHimesaka1873 Apr 28, 2025
f8a1cc1
[no stage1] feat/workflow: option to skip stages
NoaHimesaka1873 Apr 28, 2025
4c1c5df
[no stage1] fix/workflow: typo
NoaHimesaka1873 Apr 28, 2025
2bf257d
[no stage1] fix/workflow: run stages even if previous one was skipped
NoaHimesaka1873 Apr 28, 2025
64ae606
feat: build with all cores available
NoaHimesaka1873 Apr 28, 2025
6ff182d
feat/base: upgrade to Debian 12
NoaHimesaka1873 Apr 28, 2025
f6f7dfb
feat/base: upgrade to GCC 12
NoaHimesaka1873 Apr 28, 2025
2583b17
feat/base: upgrade to Debian 12, part 2
NoaHimesaka1873 Apr 28, 2025
970569a
fix/base: fix env
NoaHimesaka1873 Apr 28, 2025
5094fad
fix/base: actually fix build
NoaHimesaka1873 Apr 28, 2025
c76916a
feat/dotnet6: Upgrade for Debian 12
NoaHimesaka1873 Apr 28, 2025
9bfaf8a
feat/go: upgrade to 1.24.2
NoaHimesaka1873 Apr 28, 2025
0e42a2f
feat/rust: aarch64 and version upgrade
NoaHimesaka1873 Apr 28, 2025
98b00c5
fix/rust: fix build
NoaHimesaka1873 Apr 28, 2025
a867a75
fix/script/build: go back to toltec-dev again
NoaHimesaka1873 Apr 28, 2025
d88d88b
feat/qt: switch to Qt6 (no libqsgepaper for now)
NoaHimesaka1873 Apr 28, 2025
a2d5aab
fix/qt: do not use remarkable modules and switch for qt6
NoaHimesaka1873 Apr 28, 2025
6f675a8
fix/qt: build thrice
NoaHimesaka1873 Apr 28, 2025
35d4fd6
fix/qt: building now works
NoaHimesaka1873 Apr 28, 2025
3c75141
fix/script/build: go back to toltec-dev again
NoaHimesaka1873 Apr 28, 2025
47a05a1
fix/ci/pr: pass containers between jobs
NoaHimesaka1873 Apr 29, 2025
9d83e7d
fix/ci/pr: fix install
NoaHimesaka1873 Apr 29, 2025
5750ed8
fix/ci/pr: fix install part 2
NoaHimesaka1873 Apr 29, 2025
8358a15
fix/ci/pr: fix uuid gen
NoaHimesaka1873 Apr 29, 2025
466121a
fix/toolchain: disable ct-ng progress spam
NoaHimesaka1873 Apr 29, 2025
75d1931
fix/ci/pr: fix UUID passing
NoaHimesaka1873 Apr 29, 2025
36486b8
fix/ci/pr: remove UUID
NoaHimesaka1873 Apr 29, 2025
e973100
Revert "fix/ci/pr: remove UUID"
NoaHimesaka1873 Apr 29, 2025
7b98153
fix/ci/pr: remove unnecessary packages
NoaHimesaka1873 Apr 29, 2025
fb71468
fix/sscript/build: save build to local image
NoaHimesaka1873 Apr 29, 2025
af74495
fix/ci/pr: leave the package install
NoaHimesaka1873 Apr 29, 2025
e521786
fix/ci/pr: use local cache
NoaHimesaka1873 Apr 29, 2025
aff73ac
fix/ci/pr: use local cache, take 2
NoaHimesaka1873 Apr 29, 2025
97cc5e3
fix: final build fix
NoaHimesaka1873 Apr 29, 2025
b9d9f7d
fix/toolchain: disable ct-ng updatetools due to GNU Savannah stabilit…
NoaHimesaka1873 Apr 29, 2025
050ac0d
fix/toolchain: rMPP GCC 11
NoaHimesaka1873 Apr 30, 2025
a6f034d
fix/toolchain: GCC 11 for rM2 too
NoaHimesaka1873 Apr 30, 2025
7e46709
feat/base: add libdrm for aarch64
NoaHimesaka1873 Apr 30, 2025
681661b
feat/toolchain: change to gcc 11
NoaHimesaka1873 Apr 30, 2025
bcb6b6f
feat/qt: add libqsgepaper.so
NoaHimesaka1873 Apr 30, 2025
1614570
fix: fix tab to double space
NoaHimesaka1873 Apr 30, 2025
24590c6
misc/qt: rename qsgepaper to qsgepaper-rmpp
NoaHimesaka1873 Apr 30, 2025
0ba202f
fix/qt: make curl follow redirect
NoaHimesaka1873 May 1, 2025
6d1c632
fix/qt: fixed filename
NoaHimesaka1873 May 1, 2025
54aae1c
feat/ci: set retention to 1d
NoaHimesaka1873 May 1, 2025
3705b55
feat: final touches
NoaHimesaka1873 May 1, 2025
79dc9aa
fix/rust: typo
NoaHimesaka1873 Jun 8, 2025
4734a36
fix/toolchain: fix unintended version regression
NoaHimesaka1873 Jun 9, 2025
8b62899
misc/qt: remove libqsgepaper from toolchain
NoaHimesaka1873 Jun 26, 2025
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
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
stage1:
name: Stage 1
if: ${{ !contains(github.event.head_commit.message, '[no stage1]') }}
runs-on: ubuntu-latest
steps:
- name: Checkout the Git repository
Expand All @@ -25,6 +26,7 @@ jobs:
run: ./scripts/build -p -g -s toolchain
stage2:
name: Stage 2
if: ${{ !contains(github.event.head_commit.message, '[no stage2]') && !failure() && !cancelled() }}
runs-on: ubuntu-latest
needs: stage1
steps:
Expand All @@ -42,6 +44,7 @@ jobs:
run: ./scripts/build -p -g -s base
stage3:
name: Stage 3
if: ${{ !contains(github.event.head_commit.message, '[no stage3]') && !failure() && !cancelled() }}
runs-on: ubuntu-latest
needs: stage2
strategy:
Expand Down
57 changes: 55 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
stage1:
name: Stage 1
runs-on: ubuntu-latest
outputs:
UUID: ${{ steps.export_container_uuid.outputs.UUID }}
steps:
- name: Checkout the Git repository
uses: actions/checkout@v3
Expand All @@ -23,11 +25,34 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Build and push toolchain
run: ./scripts/build -g -s toolchain
- name: Export the container
id: export_container_uuid
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update -y
sudo apt-get install uuid-runtime
export UUID=$(uuidgen)
echo "UUID=$UUID" >> "$GITHUB_ENV"
echo "UUID=$UUID" >> "$GITHUB_OUTPUT"
docker image save ghcr.io/toltec-dev/toolchain | gzip > ${{ runner.temp }}/$UUID-toolchain.tar.gz
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.UUID }}-toolchain
path: ${{ runner.temp }}/${{ env.UUID }}-toolchain.tar.gz
retention-days: 1
stage2:
name: Stage 2
runs-on: ubuntu-latest
outputs:
UUID: ${{ steps.export_uuid_for_stage3.outputs.UUID }}
needs: stage1
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: ${{ needs.stage1.outputs.UUID }}-toolchain
path: ${{ runner.temp }}
- name: Checkout the Git repository
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
Expand All @@ -38,8 +63,25 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set UUID for stage3
id: export_uuid_for_stage3
run: echo "UUID=${{ needs.stage1.outputs.UUID }}" >> "$GITHUB_OUTPUT"
- name: Import container
run: |
pushd ${{ runner.temp }}
tar xf ${{ needs.stage1.outputs.UUID }}-toolchain.tar.gz
popd
rm ${{ runner.temp }}/${{ needs.stage1.outputs.UUID }}-toolchain.tar.gz
- name: Build and push toolchain
run: ./scripts/build -g -s base
run: ./scripts/build -g -s base -c ghcr.io/toltec-dev/toolchain=oci-layout://${{ runner.temp }}
- name: Export the container
run: docker image save ghcr.io/toltec-dev/base | gzip > ${{ runner.temp }}/${{ needs.stage1.outputs.UUID }}-base.tar.gz
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ needs.stage1.outputs.UUID }}-base
path: ${{ runner.temp }}/${{ needs.stage1.outputs.UUID }}-base.tar.gz
retention-days: 1
stage3:
name: Stage 3
runs-on: ubuntu-latest
Expand All @@ -48,6 +90,11 @@ jobs:
matrix:
target: [golang, python, qt, rust, dotnet6]
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: ${{ needs.stage2.outputs.UUID }}-base
path: ${{ runner.temp }}
- name: Checkout the Git repository
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
Expand All @@ -58,5 +105,11 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Import container
run: |
pushd ${{ runner.temp }}
tar xf ${{ needs.stage2.outputs.UUID }}-base.tar.gz
popd
rm ${{ runner.temp }}/${{ needs.stage2.outputs.UUID }}-base.tar.gz
- name: Build and push toolchain
run: ./scripts/build -g -s ${{ matrix.target }}
run: ./scripts/build -g -s ${{ matrix.target }} -c ghcr.io/toltec-dev/base=oci-layout://${{ runner.temp }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Toltec Build Toolchain

This branch contains the Docker image definitions for the `3.x` releases.\
This branch contains the Docker image definitions for the `4.x` releases.\
[See the main README file for more information →](https://github.com/toltec-dev/toolchain#readme)
Loading