Add ci workflow
Some checks failed
Cargo Build and Test / Build and Test (pull_request) Failing after 2m1s
Some checks failed
Cargo Build and Test / Build and Test (pull_request) Failing after 2m1s
This commit is contained in:
parent
62d6c43e3c
commit
907b67b1c4
4
.gitea/images/Dockerfile
Normal file
4
.gitea/images/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
FROM docker.io/library/rust:1.75
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
nodejs
|
19
.gitea/workflows/gitea-ci.yaml
Normal file
19
.gitea/workflows/gitea-ci.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Cargo Build and Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_and_test:
|
||||||
|
name: Build and Test
|
||||||
|
container: docker.io/drrobot/musichoard-ci:latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- run: cargo build --verbose --all-features --all-targets
|
||||||
|
- run: cargo test --verbose --all-features --all-targets
|
Loading…
Reference in New Issue
Block a user