From 2c6c854969ce383e066d1b648a396264a662549b Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Fri, 7 Feb 2025 22:28:40 +0100 Subject: [PATCH] change pipeline to also run on forgejo, add note about move to README --- .github/workflows/rust.yml | 40 ++++++++++++++++++++++++-------------- README.md | 12 +++++++----- 2 files changed, 32 insertions(+), 20 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0480ccf..fbf93a9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,27 +9,37 @@ on: env: CARGO_TERM_COLOR: always + # Make sure CI fails on all warnings, including Clippy lints + RUSTFLAGS: "-Dwarnings" + jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: install lzma - run: sudo apt-get update && sudo apt-get install -y liblzma-dev + - name: Update repos + run: sudo apt-get update -qq + - name: Install rust toolchain + run: sudo apt-get install -qy cargo rust-clippy + - name: install lzma + run: sudo apt-get update && sudo apt-get install -y liblzma-dev - - name: build default features - run: cargo build --all --verbose - - name: build default features -- examples - run: cargo build --examples --verbose - - name: test default features - run: cargo test --all --verbose + - name: Run Clippy + run: cargo clippy --all-targets --all-features + + - name: build default features + run: cargo build --all --verbose + - name: build default features -- examples + run: cargo build --examples --verbose + - name: test default features + run: cargo test --all --verbose - - name: build all features - run: cargo build --all-features --verbose - - name: build all features -- examples - run: cargo build --all-features --examples --verbose - - name: test all features - run: cargo test --all --all-features --verbose + - name: build all features + run: cargo build --all-features --verbose + - name: build all features -- examples + run: cargo build --all-features --examples --verbose + - name: test all features + run: cargo test --all --all-features --verbose diff --git a/README.md b/README.md index 65c2a76..9a3db09 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,15 @@ Display" or "Airport Display". This repository contains a library for parsing, encoding and sending packets to this display via UDP in multiple programming languages. +This repository will move to [git.berlin.ccc.de/servicepoint/servicepoint-simulator](https://git.berlin.ccc.de/servicepoint/servicepoint-simulator) soon. + Take a look at the contained crates for language specific information: -| Crate | Languages | Readme | -|-----------------------------|-----------------------------------|-------------------------------------------------------------------------| -| servicepoint | Rust | [servicepoint](crates/servicepoint/README.md) | -| servicepoint_binding_c | C / C++ | [servicepoint_binding_c](crates/servicepoint_binding_c/README.md) | -| servicepoint_binding_uniffi | C# / Python / Go / Kotlin / Swift | [servicepoint_binding_cs](crates/servicepoint_binding_uniffi/README.md) | +| Crate | Languages | Readme | +|-----------------------------|-----------------------------------|-----------------------------------------------------------------------------| +| servicepoint | Rust | [servicepoint](crates/servicepoint/README.md) | +| servicepoint_binding_c | C / C++ | [servicepoint_binding_c](crates/servicepoint_binding_c/README.md) | +| servicepoint_binding_uniffi | C# / Python / Go / Kotlin / Swift | [servicepoint_binding_uniffi](crates/servicepoint_binding_uniffi/README.md) | ## Projects using the library