Add a suite of Rust-related actions (#55)

* Add a suite of Rust-related actions

* cargo fmt

* nightly for rustdoc
This commit is contained in:
Dustin J. Mitchell
2024-11-17 14:25:53 -05:00
committed by GitHub
parent 7d0325e807
commit 5769781553
4 changed files with 137 additions and 10 deletions

View File

@ -10,10 +10,8 @@ jobs:
target:
- tag: amd64-musl
target: x86_64-unknown-linux-musl
test: false
- tag: amd64-glibc
target: x86_64-unknown-linux-gnu
test: true
name: Build TaskChampion Sync-Server ${{ matrix.target.tag }}
runs-on: ubuntu-latest
steps:
@ -26,9 +24,6 @@ jobs:
with:
toolchain: ${{ env.RUST_VERSION }}
targets: ${{ matrix.target.target }}
- name: Test
if: ${{ matrix.target.test }}
run: cargo test
- name: Build
run: |
[ "${{ matrix.target.target }}" == "x86_64-unknown-linux-musl" ] && sudo apt update && sudo apt -y install musl-tools