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
|
args: --all -- --check
|
||||||
- name: Run Cargo clippy
|
- name: Run Cargo clippy
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
# continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
args: -- -D warnings
|
args: -- -D warnings
|
||||||
@ -88,16 +87,8 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
override: true
|
override: true
|
||||||
- uses: actions/cache@v2
|
- name: Rust Cache
|
||||||
with:
|
uses: Swatinem/rust-cache@v1.2.0
|
||||||
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: Compile
|
- name: Compile
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
@ -108,7 +99,6 @@ jobs:
|
|||||||
build-ppc:
|
build-ppc:
|
||||||
name: Build PowerPC Binaries
|
name: Build PowerPC Binaries
|
||||||
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
|
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
|
runs-on: ubuntu-18.04
|
||||||
needs: [check, test, lints]
|
needs: [check, test, lints]
|
||||||
steps:
|
steps:
|
||||||
@ -118,16 +108,8 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: powerpc64-unknown-linux-gnu
|
target: powerpc64-unknown-linux-gnu
|
||||||
override: true
|
override: true
|
||||||
- uses: actions/cache@v2
|
- name: Rust Cache
|
||||||
with:
|
uses: Swatinem/rust-cache@v1.2.0
|
||||||
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: Install PowerPC gcc
|
- name: Install PowerPC gcc
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y gcc-powerpc64-linux-gnu
|
sudo apt-get install -y gcc-powerpc64-linux-gnu
|
||||||
@ -149,7 +131,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.50.0
|
toolchain: stable
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
override: true
|
override: true
|
||||||
- name: Rust Cache
|
- name: Rust Cache
|
||||||
|
Loading…
Reference in New Issue
Block a user