hgjk
Quick CI / quick-test (push) Failing after 1m13s
Multi-Platform CI / test-platforms (ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Failing after 1m0s
Multi-Platform CI / test-platforms (windows-latest, x86_64-pc-windows-msvc) (push) Failing after 37s
Multi-Platform CI / test-native (ubuntu-22.04) (push) Failing after 1m20s
Multi-Platform CI / test-native (windows-latest) (push) Failing after 1m19s
Multi-Platform CI / package (ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Has been skipped
Multi-Platform CI / package (windows-latest, x86_64-pc-windows-msvc) (push) Has been skipped
Quick CI / quick-test (push) Failing after 1m13s
Multi-Platform CI / test-platforms (ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Failing after 1m0s
Multi-Platform CI / test-platforms (windows-latest, x86_64-pc-windows-msvc) (push) Failing after 37s
Multi-Platform CI / test-native (ubuntu-22.04) (push) Failing after 1m20s
Multi-Platform CI / test-native (windows-latest) (push) Failing after 1m19s
Multi-Platform CI / package (ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Has been skipped
Multi-Platform CI / package (windows-latest, x86_64-pc-windows-msvc) (push) Has been skipped
This commit is contained in:
@@ -39,16 +39,28 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
${{ inputs.target && format('cargo build --all-features --target {0}', inputs.target) || 'cargo build --all-features' }}
|
||||
if [[ -n "${{ inputs.target }}" ]]; then
|
||||
cargo build --all-features --target ${{ inputs.target }}
|
||||
else
|
||||
cargo build --all-features
|
||||
fi
|
||||
|
||||
- name: Test
|
||||
if: inputs.target == '' || (runner.os == 'Linux' && runner.arch == 'X64' && inputs.target == 'x86_64-unknown-linux-gnu') || (runner.os == 'Windows' && inputs.target == 'x86_64-pc-windows-msvc')
|
||||
run: |
|
||||
${{ inputs.target && format('cargo test --all-features --target {0}', inputs.target) || 'cargo test --all-features' }}
|
||||
if [[ -n "${{ inputs.target }}" ]]; then
|
||||
cargo test --all-features --target ${{ inputs.target }}
|
||||
else
|
||||
cargo test --all-features
|
||||
fi
|
||||
|
||||
- name: Clippy
|
||||
run: |
|
||||
${{ inputs.target && format('cargo clippy --all-targets --all-features --target {0} -D warnings', inputs.target) || 'cargo clippy --all-targets --all-features -D warnings' }}
|
||||
if [[ -n "${{ inputs.target }}" ]]; then
|
||||
cargo clippy --all-targets --all-features --target ${{ inputs.target }} -- -D warnings
|
||||
else
|
||||
cargo clippy --all-targets --all-features -- -D warnings
|
||||
fi
|
||||
|
||||
- name: Fmt check
|
||||
run: |
|
||||
@@ -68,7 +80,11 @@ jobs:
|
||||
- name: Build FFI library
|
||||
if: inputs.upload-artifacts
|
||||
run: |
|
||||
${{ inputs.target && format('cargo build --release --features ffi --target {0}', inputs.target) || 'cargo build --release --features ffi' }}
|
||||
if [[ -n "${{ inputs.target }}" ]]; then
|
||||
cargo build --release --features ffi --target ${{ inputs.target }}
|
||||
else
|
||||
cargo build --release --features ffi
|
||||
fi
|
||||
|
||||
- name: Extract version and create package
|
||||
if: inputs.upload-artifacts
|
||||
|
||||
Reference in New Issue
Block a user