Move repo to Projects

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-13 17:02:58 +01:00
parent 48beaa7732
commit 2fb97a9964
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
3 changed files with 26 additions and 24 deletions

View File

@ -14,9 +14,6 @@ jobs:
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --all-features --verbose --release
@ -30,9 +27,6 @@ jobs:
with:
components: rustfmt, clippy
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Check code format
run: cargo fmt -- --check
@ -50,9 +44,6 @@ jobs:
with:
components: llvm-tools-preview
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Install nextest
run: cargo binstall -y cargo-nextest --secure
@ -86,14 +77,14 @@ jobs:
target/coverage/
- name: Upload test report
uses: https://git.pvv.ntnu.no/Projects/rsync-action@main
uses: https://git.pvv.ntnu.no/Projects/rsync-action@v1
with:
source: target/coverage/html/
target: empidee/${{ gitea.ref_name }}/coverage/
username: oysteikt
ssh-key: ${{ secrets.OYSTEIKT_GITEA_WEBDOCS_SSH_KEY }}
host: microbel.pvv.ntnu.no
known-hosts: "microbel.pvv.ntnu.no ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEq0yasKP0mH6PI6ypmuzPzMnbHELo9k+YB5yW534aKudKZS65YsHJKQ9vapOtmegrn5MQbCCgrshf+/XwZcjbM="
target: ${{ gitea.ref_name }}/coverage/
username: gitea-web
ssh-key: ${{ secrets.WEB_SYNC_SSH_KEY }}
host: bekkalokk.pvv.ntnu.no
known-hosts: "bekkalokk.pvv.ntnu.no ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEI6VSaDrMG8+flg4/AeHlAFIen8RUzWh6URQKqFegSx"
docs:
runs-on: ubuntu-latest
@ -106,18 +97,16 @@ jobs:
toolchain: nightly
override: true
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Build docs
run: cargo doc --all-features --document-private-items --release
- name: Transfer files
uses: https://git.pvv.ntnu.no/Projects/rsync-action@main
uses: https://git.pvv.ntnu.no/Projects/rsync-action@v1
with:
source: target/doc/
target: empidee/${{ gitea.ref_name }}/docs/
username: oysteikt
ssh-key: ${{ secrets.OYSTEIKT_GITEA_WEBDOCS_SSH_KEY }}
host: microbel.pvv.ntnu.no
known-hosts: "microbel.pvv.ntnu.no ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEq0yasKP0mH6PI6ypmuzPzMnbHELo9k+YB5yW534aKudKZS65YsHJKQ9vapOtmegrn5MQbCCgrshf+/XwZcjbM="
target: ${{ gitea.ref_name }}/docs/
username: gitea-web
ssh-key: ${{ secrets.WEB_SYNC_SSH_KEY }}
host: bekkalokk.pvv.ntnu.no
known-hosts: "bekkalokk.pvv.ntnu.no ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEI6VSaDrMG8+flg4/AeHlAFIen8RUzWh6URQKqFegSx"

View File

@ -1,7 +1,14 @@
[package]
name = "empidee"
version = "0.1.0"
authors = [
"Øystein Tveit <oysteikt@pvv.ntnu.no>"
]
description = "A rust implementation of the mpd protocol, both client and serverside"
repository = "https://git.pvv.ntnu.no/Projects/empidee"
documentation = "https://pages.pvv.ntnu.no/Projects/empidee/main/docs/empidee/"
edition = "2021"
rust-version = "1.83.0"
[dependencies]
serde = { version = "1.0.210", features = ["derive"] }

6
README.md Normal file
View File

@ -0,0 +1,6 @@
[![Coverage](https://pages.pvv.ntnu.no/Projects/empidee/main/coverage/badges/for_the_badge.svg)](https://pages.pvv.ntnu.no/Projects/empidee/main/coverage/src/)
[![Docs](https://img.shields.io/badge/docs-blue?style=for-the-badge&logo=rust)](https://pages.pvv.ntnu.no/Projects/empidee/main/docs/empidee/)
# empidee
Rust implementation of the mpd protocol, both client and serverside.