rust-nex/.forgejo/workflows/build.yml
red binder aaf9bc4b65
Some checks failed
Build and Test / terraria (push) Failing after 4m42s
Build and Test / minecraft-wiiu (push) Failing after 4m44s
Build and Test / splatoon-testfire (push) Failing after 4m45s
Build and Test / mario-tennis (push) Successful in 4m48s
Build and Test / sonic-transformed (push) Failing after 4m54s
Build and Test / friends (push) Failing after 4m56s
Build and Test / splatoon (push) Failing after 4m56s
Build and Test / fast-racing-neo (push) Failing after 4m58s
Build and Test / wii-u-chat (push) Failing after 4m58s
Build and Test / super-mario-maker (push) Failing after 5m2s
Build and Test / puyopuyo (push) Failing after 5m8s
Build and Test / wii-sports-club (push) Failing after 5m9s
remove node holders and general repo cleanup
the node holders were just causing issues, we have no need for them currently, so we can just set the secure proxy URL through FORWARD_DESTINATION. less complexity for the cluster and self-hosters too
2026-08-09 17:29:06 +02:00

65 lines
No EOL
1.8 KiB
YAML

name: Build and Test
on:
push:
branches: ["**"]
env:
DOCKER_TLS_CERTDIR: /certs
IMAGE_TAG: ${{ github.sha }}
jobs:
build-editions:
runs-on: debian-trixie
strategy:
fail-fast: false
matrix:
include:
- edition: sonic-transformed
- edition: mario-tennis
- edition: wii-sports-club
db_secret: DATABASE_SMM
- edition: puyopuyo
db_secret: DATABASE_SMM
- edition: minecraft-wiiu
- edition: splatoon-testfire
- edition: fast-racing-neo
- edition: wii-u-chat
- edition: splatoon
- edition: friends
db_secret: DATABASE_FRIENDS
- edition: super-mario-maker
db_secret: DATABASE_SMM
- edition: terraria
name: ${{ matrix.edition }}
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
submodules: recursive
- name: Cache Cargo registry and target
uses: actions/cache@v6
with:
path: |
~/.cargo/registry
~/.cargo/git
target/
key: cargo-${{ matrix.edition }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
cargo-${{ matrix.edition }}-
- name: Login to registry
run: docker login -u ${{ secrets.PACKAGE_USER }} -p ${{ secrets.PACKAGE_PWD }} git.spbr.net
- name: Set environment variables & build
env:
CI_REGISTRY_IMAGE: git.spbr.net/spacebar/rust-nex
SHORT_SHA: ${{ github.sha }}
DATABASE_URL: ${{ matrix.db_secret != '' && secrets[matrix.db_secret] || '' }}
run: |
echo "SHORT_SHA=${SHORT_SHA::6}" >> $GITHUB_ENV
export CI_COMMIT_SHORT_SHA="${SHORT_SHA::6}"
./.forgejo/workflows/build.sh ${{ matrix.edition }}