mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-27 12:50:54 +00:00
ci: Remove CI jobs
This commit is contained in:
parent
9bfde2d8af
commit
7a0a7ff712
7
.github/workflows/cd.yaml
vendored
7
.github/workflows/cd.yaml
vendored
@ -37,9 +37,14 @@ jobs:
|
||||
target: ${{ matrix.job.target }}
|
||||
- name: Enable caching
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Publish (dry-run)
|
||||
if: matrix.job.target == 'x86_64-unknown-linux-gnu'
|
||||
run: cargo publish --dry-run
|
||||
- name: Install cross and build
|
||||
if: matrix.job.target == 'aarch64-unknown-linux-gnu'
|
||||
run: cargo install cross && cross build --release --target ${{ matrix.job.target }}
|
||||
run: |
|
||||
cargo install cross
|
||||
cross build --release --target ${{ matrix.job.target }}
|
||||
- name: Cargo build
|
||||
if: matrix.job.target != 'aarch64-unknown-linux-gnu'
|
||||
run: cargo build --release --target ${{ matrix.job.target }}
|
||||
|
14
.github/workflows/ci.yaml
vendored
14
.github/workflows/ci.yaml
vendored
@ -23,7 +23,7 @@ env:
|
||||
|
||||
jobs:
|
||||
cargo-checks:
|
||||
name: cargo ${{ matrix.action.command }} - ${{ matrix.job.os }}
|
||||
name: cargo ${{ matrix.action.command }} | ${{ matrix.job.os }}
|
||||
runs-on: ${{ matrix.job.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@ -35,10 +35,8 @@ jobs:
|
||||
os-name: linux
|
||||
- os: windows-latest
|
||||
os-name: windows
|
||||
binary-postfix: ".exe"
|
||||
action:
|
||||
- command: build
|
||||
args: --release
|
||||
- command: check
|
||||
- command: test
|
||||
args: --all-features --workspace
|
||||
- command: fmt
|
||||
@ -47,8 +45,6 @@ jobs:
|
||||
args: --all-targets --all-features --workspace -- -D warnings
|
||||
- command: doc
|
||||
args: --no-deps --document-private-items --all-features --workspace --examples
|
||||
- command: publish
|
||||
args: --dry-run
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
if: ${{ matrix.job.os == 'ubuntu-20.04' }}
|
||||
@ -64,12 +60,6 @@ jobs:
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Cargo command
|
||||
run: cargo ${{ matrix.action.command }} ${{ matrix.action.args }}
|
||||
- name: Archive artifact
|
||||
if: ${{ matrix.action.command == 'build' }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: espup-${{ matrix.job.os-name }}${{ matrix.job.binary-postfix }}
|
||||
path: target/release/espup${{ matrix.job.binary-postfix }}
|
||||
msrv:
|
||||
name: MSRV check
|
||||
runs-on: ubuntu-20.04
|
||||
|
Loading…
x
Reference in New Issue
Block a user