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

View File

@ -1,7 +1,14 @@
[package] [package]
name = "empidee" name = "empidee"
version = "0.1.0" 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" edition = "2021"
rust-version = "1.83.0"
[dependencies] [dependencies]
serde = { version = "1.0.210", features = ["derive"] } 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.