Files
gpodder-rs/.gitea/workflows/ci.yaml
Matthew Pomes ccd5fae965
Some checks failed
Cargo Build & Test / Rust project - latest (stable) (push) Failing after 6m12s
Add list step to see if files persist, and show potential path issues
2026-07-07 23:01:58 -05:00

41 lines
1.1 KiB
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 }}
- run: ls .; ls ./target; ls ./target/x86_64-unknown-linux-musl; ls ./target/x86_64-unknown-linux-musl/release/
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
file: 'Dockerfile'
tags: gitea.loadingm.xyz/the10thwiz/gpodder:latest