forked from github-mirrorer/taskchampion-sync-server
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:
committed by
GitHub
parent
7d0325e807
commit
5769781553
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user