Files
gpodder-rs/.gitea/workflows/ci.yaml
Matthew Pomes 0c3e86cf00
Some checks failed
Cargo Build & Test / Rust project - latest (stable) (push) Failing after 1m47s
Skip update step, since updates are handled by separate process
2026-07-02 22:01:13 -05:00

40 lines
964 B
YAML

name: Cargo Build & Test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project - latest
runs-on: rustup-all-musl
strategy:
matrix:
toolchain:
- stable
# - beta
# - nightly
steps:
- uses: actions/checkout@v4
# - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
- run: cargo build --release --target=x86_64-unknown-linux-musl
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: gitea.loadingm.xyz
username: "the10thwiz"
password: ${{ secrets.PACKAGE_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
file: 'Dockerfile'
tags: gitea.loadingm.xyz/the10thwiz/gpodder:latest