2026-04-26 00:32:38 +02:00
|
|
|
name: Build and Test
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
branches: ["**"]
|
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
DOCKER_TLS_CERTDIR: /certs
|
2026-04-26 02:13:18 +02:00
|
|
|
IMAGE_TAG: ${{ github.sha }}
|
2026-04-26 03:21:36 +02:00
|
|
|
SHORT_SHA: ${{ github.sha }}
|
2026-04-26 00:32:38 +02:00
|
|
|
|
|
|
|
|
jobs:
|
2026-04-27 22:36:36 +02:00
|
|
|
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
|
|
|
|
|
|
2026-04-26 00:32:38 +02:00
|
|
|
splatoon:
|
2026-04-26 00:46:47 +02:00
|
|
|
runs-on: debian-trixie
|
2026-04-26 00:32:38 +02:00
|
|
|
|
|
|
|
|
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
|
2026-04-26 02:05:33 +02:00
|
|
|
run: docker login -u ${{ secrets.PACKAGE_USER }} -p ${{ secrets.PACKAGE_PWD }} git.spbr.net
|
2026-04-26 00:32:38 +02:00
|
|
|
|
2026-04-26 03:21:36 +02:00
|
|
|
- name: Set short SHA
|
|
|
|
|
run: echo "SHORT_SHA=${GITHUB_SHA::6}" >> $GITHUB_ENV
|
|
|
|
|
|
2026-04-26 00:32:38 +02:00
|
|
|
- name: Build Splatoon edition
|
2026-04-26 01:30:10 +02:00
|
|
|
env:
|
2026-04-26 02:14:10 +02:00
|
|
|
CI_REGISTRY_IMAGE: git.spbr.net/spacebar/rust-nex
|
2026-04-26 03:21:36 +02:00
|
|
|
CI_COMMIT_SHORT_SHA: ${{ env.SHORT_SHA }}
|
2026-04-26 00:32:38 +02:00
|
|
|
run: ./.ci-scripts/make-edition.sh splatoon
|
|
|
|
|
|
|
|
|
|
friends:
|
2026-04-26 00:46:47 +02:00
|
|
|
runs-on: debian-trixie
|
2026-04-26 00:32:38 +02:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2026-04-26 03:21:36 +02:00
|
|
|
- name: Set short SHA
|
|
|
|
|
run: echo "SHORT_SHA=${GITHUB_SHA::6}" >> $GITHUB_ENV
|
|
|
|
|
|
2026-04-26 00:32:38 +02:00
|
|
|
- name: Login to registry
|
2026-04-26 02:05:33 +02:00
|
|
|
run: podman login -u ${{ secrets.PACKAGE_USER }} -p ${{ secrets.PACKAGE_PWD }} git.spbr.net
|
2026-04-26 00:32:38 +02:00
|
|
|
|
|
|
|
|
- name: Build Friends edition
|
2026-04-26 01:30:10 +02:00
|
|
|
env:
|
2026-04-26 02:14:10 +02:00
|
|
|
CI_REGISTRY_IMAGE: git.spbr.net/spacebar/rust-nex
|
2026-04-26 03:21:36 +02:00
|
|
|
CI_COMMIT_SHORT_SHA: ${{ env.SHORT_SHA }}
|
2026-04-26 16:41:40 +02:00
|
|
|
DATABASE_URL: ${{ secrets.DATABASE_FRIENDS }}
|
2026-04-26 00:32:38 +02:00
|
|
|
run: ./.ci-scripts/make-edition.sh friends
|
2026-04-26 16:12:31 +02:00
|
|
|
|
|
|
|
|
super-mario-maker:
|
|
|
|
|
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: Set short SHA
|
|
|
|
|
run: echo "SHORT_SHA=${GITHUB_SHA::6}" >> $GITHUB_ENV
|
|
|
|
|
|
|
|
|
|
- name: Login to registry
|
|
|
|
|
run: podman login -u ${{ secrets.PACKAGE_USER }} -p ${{ secrets.PACKAGE_PWD }} git.spbr.net
|
|
|
|
|
|
2026-04-26 16:41:40 +02:00
|
|
|
- name: Build Super Mario Maker edition
|
2026-04-26 16:12:31 +02:00
|
|
|
env:
|
|
|
|
|
CI_REGISTRY_IMAGE: git.spbr.net/spacebar/rust-nex
|
|
|
|
|
CI_COMMIT_SHORT_SHA: ${{ env.SHORT_SHA }}
|
2026-04-26 16:41:40 +02:00
|
|
|
DATABASE_URL: ${{ secrets.DATABASE_SMM }}
|
2026-04-26 16:12:31 +02:00
|
|
|
run: ./.ci-scripts/make-edition.sh super-mario-maker
|