Skip to content

Commit

Permalink
CI: Remove deleted inputs for dtolnay/rust-toolchain action
Browse files Browse the repository at this point in the history
  • Loading branch information
barrbrain committed Apr 10, 2023
1 parent 9f0550f commit c34798d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 33 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ jobs:

- name: Install stable
uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true

- name: Build rav1e-ch (unstable)
env:
Expand Down Expand Up @@ -94,12 +90,10 @@ jobs:
curl -LO "$LINK/$CARGO_C_FILE.zip"
7z e -y "$CARGO_C_FILE.zip" -o"${env:USERPROFILE}\.cargo\bin"
- name: Install stable
uses: dtolnay/rust-toolchain@stable
- name: Install ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true

- name: Build rav1e
env:
Expand Down Expand Up @@ -229,10 +223,7 @@ jobs:
- name: Install ${{ matrix.target }} target
uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
target: ${{ matrix.target }}
override: true

- name: Install cross
if: matrix.target == 'aarch64-unknown-linux-musl'
Expand Down Expand Up @@ -307,10 +298,6 @@ jobs:

- name: Install stable
uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true

- name: Build rav1e
run: cargo build --release
Expand Down Expand Up @@ -367,10 +354,6 @@ jobs:

- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true

- name: Get the version
if: startsWith(github.ref, 'refs/tags/v')
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/rav1e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
- name: Install stable
uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true
components: clippy, rustfmt
- name: Run rustfmt
run: |
Expand Down Expand Up @@ -124,11 +121,9 @@ jobs:
curl -L "$LINK/grcov-x86_64-unknown-linux-musl.tar.bz2" |
tar xj -C $HOME/.cargo/bin
- name: Install ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: Install llvm-tools-preview
if: matrix.conf == 'grcov-codecov'
run: |
Expand Down Expand Up @@ -294,11 +289,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true
target: ${{ matrix.target }}
default: true
- name: Generate Cargo.version for cache key
run: |
cargo --version > Cargo.version
Expand Down Expand Up @@ -368,12 +359,10 @@ jobs:
curl -LO "$LINK/$SCCACHE_FILE.tar.gz"
tar xzf "$SCCACHE_FILE.tar.gz"
echo "$Env:GITHUB_WORKSPACE/$SCCACHE_FILE" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Install ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@stable
- name: Install stable-${{ matrix.target }}
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: stable-${{ matrix.target }}
override: true
- name: Install cargo-c
if: matrix.conf == 'cargo-c'
run: |
Expand Down

0 comments on commit c34798d

Please sign in to comment.