Move repo to Projects, some pipeline updates
Some checks failed
Build and test / build (push) Failing after 12m13s
Build and test / check (push) Failing after 11m46s
Build and test / test (push) Failing after 11m32s
Build and test / docs (push) Failing after 11m11s

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-12 11:04:33 +01:00
parent 6b967371fe
commit 5a02499005
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
3 changed files with 37 additions and 48 deletions

View File

@ -7,15 +7,12 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest-personal runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install latest nightly toolchain - name: Install rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
override: true
- name: Cache dependencies - name: Cache dependencies
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v2
@ -24,15 +21,13 @@ jobs:
run: cargo build --all-features --verbose --release run: cargo build --all-features --verbose --release
check: check:
runs-on: ubuntu-latest-personal runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install latest nightly toolchain - name: Install rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: nightly
override: true
components: rustfmt, clippy components: rustfmt, clippy
- name: Cache dependencies - name: Cache dependencies
@ -45,24 +40,21 @@ jobs:
run: cargo clippy --all-features -- --deny warnings run: cargo clippy --all-features -- --deny warnings
test: test:
runs-on: ubuntu-latest-personal runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: cargo-bins/cargo-binstall@main
- name: Install cargo binstall
uses: cargo-bins/cargo-binstall@main
- name: Install mpv - name: Install mpv
run: apt-get update && apt-get install -y mpv run: apt-get update && apt-get install -y mpv
- name: Install latest nightly toolchain - name: Install rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@nightly
with: with:
toolchain: nightly
override: true
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
@ -96,25 +88,22 @@ jobs:
target/coverage/ target/coverage/
- name: Upload test report - name: Upload test report
uses: https://git.pvv.ntnu.no/oysteikt/rsync-action@main uses: https://git.pvv.ntnu.no/Projects/rsync-action@v1
with: with:
source: target/coverage/html/ source: target/coverage/html/
target: mpvipc/${{ 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-personal runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install latest nightly toolchain - name: Install rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
override: true
- name: Cache dependencies - name: Cache dependencies
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v2
@ -123,11 +112,11 @@ jobs:
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/oysteikt/rsync-action@main uses: https://git.pvv.ntnu.no/Projects/rsync-action@v1
with: with:
source: target/doc/ source: target/doc/
target: mpvipc/${{ 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

@ -7,9 +7,9 @@ authors = [
] ]
description = "A small library which provides bindings to control existing mpv instances through sockets." description = "A small library which provides bindings to control existing mpv instances through sockets."
license = "GPL-3.0" license = "GPL-3.0"
homepage = "https://git.pvv.ntnu.no/oysteikt/mpvipc" homepage = "https://git.pvv.ntnu.no/Projects/mpvipc-async"
repository = "https://git.pvv.ntnu.no/oysteikt/mpvipc" repository = "https://git.pvv.ntnu.no/Projects/mpvipc-async"
documentation = "https://pvv.ntnu.no/~oysteikt/gitea/mpvipc/master/docs/mpvipc/" documentation = "https://pages.pvv.ntnu.no/Projects/mpvipc-async/master/docs/mpvipc-async/"
edition = "2021" edition = "2021"
rust-version = "1.75" rust-version = "1.75"

View File

@ -1,7 +1,7 @@
[![Coverage](https://pvv.ntnu.no/~oysteikt/gitea/mpvipc/master/coverage/badges/for_the_badge.svg)](https://pvv.ntnu.no/~oysteikt/gitea/mpvipc/master/coverage/src/) [![Coverage](https://pages.pvv.ntnu.no/Projects/mpvipc-async/master/coverage/badges/for_the_badge.svg)](https://pages.pvv.ntnu.no/Projects/mpvipc-async/master/coverage/src/)
[![Docs](https://img.shields.io/badge/docs-blue?style=for-the-badge&logo=rust)](https://pvv.ntnu.no/~oysteikt/gitea/mpvipc/master/docs/mpvipc/) [![Docs](https://img.shields.io/badge/docs-blue?style=for-the-badge&logo=rust)](https://pages.pvv.ntnu.no/Projects/mpvipc-async/master/docs/mpvipc-async/)
# mpvipc # mpvipc-async
A small library which provides bindings to control existing mpv instances through sockets. A small library which provides bindings to control existing mpv instances through sockets.