update ci yml
switch back to swatinem cache switch rustc back to stable
This commit is contained in:
parent
1d8b4c16a4
commit
4c70546905
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
@ -71,7 +71,6 @@ jobs:
|
||||
args: --all -- --check
|
||||
- name: Run Cargo clippy
|
||||
uses: actions-rs/cargo@v1
|
||||
# continue-on-error: true
|
||||
with:
|
||||
command: clippy
|
||||
args: -- -D warnings
|
||||
@ -88,16 +87,8 @@ jobs:
|
||||
toolchain: stable
|
||||
target: ${{ matrix.target }}
|
||||
override: true
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
~/.cargo/bin
|
||||
~/.cargo/.crates2.json
|
||||
~/.cargo/.crates.toml
|
||||
target
|
||||
key: ${{ runner.os }}-aarch64-unknown-linux-gnu-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v1.2.0
|
||||
- name: Compile
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
@ -108,7 +99,6 @@ jobs:
|
||||
build-ppc:
|
||||
name: Build PowerPC Binaries
|
||||
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-18.04
|
||||
needs: [check, test, lints]
|
||||
steps:
|
||||
@ -118,16 +108,8 @@ jobs:
|
||||
toolchain: stable
|
||||
target: powerpc64-unknown-linux-gnu
|
||||
override: true
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
~/.cargo/bin
|
||||
~/.cargo/.crates2.json
|
||||
~/.cargo/.crates.toml
|
||||
target
|
||||
key: ${{ runner.os }}-powerpc64-unknown-linux-gnu-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v1.2.0
|
||||
- name: Install PowerPC gcc
|
||||
run: |
|
||||
sudo apt-get install -y gcc-powerpc64-linux-gnu
|
||||
@ -149,7 +131,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: 1.50.0
|
||||
toolchain: stable
|
||||
target: x86_64-unknown-linux-gnu
|
||||
override: true
|
||||
- name: Rust Cache
|
||||
|
Loading…
Reference in New Issue
Block a user