Remove leftover GitHub Actions CI workflow (Forgejo is now canonical CI; GitHub is a pure mirror target)
All checks were successful
Mirror to GitHub / mirror (push) Successful in 3s
All checks were successful
Mirror to GitHub / mirror (push) Successful in 3s
This commit is contained in:
parent
22e34e2cf2
commit
d563461d7d
1 changed files with 0 additions and 44 deletions
44
.github/workflows/ci.yml
vendored
44
.github/workflows/ci.yml
vendored
|
|
@ -1,44 +0,0 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, main, dev ]
|
||||
pull_request:
|
||||
branches: [ master, main, dev ]
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
components: clippy, rustfmt
|
||||
- name: Install system dependencies
|
||||
run: sudo apt-get update && sudo apt-get install -y libudev-dev pkg-config
|
||||
- name: Cargo cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: |
|
||||
. -> target
|
||||
- name: Format check
|
||||
run: cargo fmt --all --check
|
||||
- name: Clippy
|
||||
run: cargo clippy --workspace --all-targets -- -D warnings
|
||||
- name: Build
|
||||
run: cargo build --workspace --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --workspace --verbose
|
||||
- name: Build release
|
||||
run: cargo build --workspace --release
|
||||
- name: Package artifacts
|
||||
run: |
|
||||
mkdir -p dist
|
||||
tar -czf dist/bread-ubuntu-latest.tgz target/release/breadd target/release/bread
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: bread-ubuntu-latest
|
||||
path: dist/*.tgz
|
||||
Loading…
Add table
Add a link
Reference in a new issue