From c5822ae632bdda0535ebcca5460864544782041c Mon Sep 17 00:00:00 2001 From: red binder Date: Mon, 27 Apr 2026 22:36:36 +0200 Subject: [PATCH] Add support for older NEX version and add Wii U Chat to CI --- .forgejo/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ editions.yaml | 2 +- rnex-core/Cargo.toml | 3 ++- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 24ee2dc..f76432e 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -11,6 +11,36 @@ env: SHORT_SHA: ${{ github.sha }} jobs: + wii-u-chat: + runs-on: debian-trixie + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Cache container storage + uses: actions/cache@v4 + with: + path: | + /var/lib/containers/storage + /run/containers/storage + ~/.local/share/containers/storage + key: image-cache + + - name: Login to registry + run: docker login -u ${{ secrets.PACKAGE_USER }} -p ${{ secrets.PACKAGE_PWD }} git.spbr.net + + - name: Set short SHA + run: echo "SHORT_SHA=${GITHUB_SHA::6}" >> $GITHUB_ENV + + - name: Build Wii U Chat edition + env: + CI_REGISTRY_IMAGE: git.spbr.net/spacebar/rust-nex + CI_COMMIT_SHORT_SHA: ${{ env.SHORT_SHA }} + run: ./.ci-scripts/make-edition.sh wii-u-chat + splatoon: runs-on: debian-trixie diff --git a/editions.yaml b/editions.yaml index 3801571..dddf891 100644 --- a/editions.yaml +++ b/editions.yaml @@ -2,7 +2,7 @@ wiiu-chat: include-in-checkall: true features: - prudpv1 - - v3-8-15 + - v3-3-2 settings: AUTH_REPORT_VERSION: "branch:origin/project/wup-agmj build:3_8_15_2004_0" RNEX_VIRTUAL_PORT_INSECURE: "1:10" diff --git a/rnex-core/Cargo.toml b/rnex-core/Cargo.toml index 780249c..56991b1 100644 --- a/rnex-core/Cargo.toml +++ b/rnex-core/Cargo.toml @@ -43,7 +43,8 @@ rmc_struct_header = [] guest_login = [] friends = ["guest_login", "database-support"] big_pid = [] -v3-8-15 = ["rmc_struct_header"] +v3-3-2 = [] +v3-8-15 = ["rmc_struct_header", "v3-3-2"] v4-3-11 = ["v3-8-15"] nx = ["big_pid"] datastore = ["database-support", "v3-8-15", "dep:aws-sdk-s3", "dep:aws-config"]