Skip to content

Commit

Permalink
ci: Remove scripts that call single command
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 8, 2024
1 parent 4ef4f09 commit 7389cdf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 33 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:

env:
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings
RUST_BACKTRACE: 1

defaults:
Expand Down Expand Up @@ -69,7 +70,7 @@ jobs:
uses: taiki-e/install-action@cross
if: matrix.target != ''
- name: Test
run: ./ci/test.sh
run: ci/test.sh

# Check all feature combinations works properly.
features:
Expand All @@ -90,7 +91,7 @@ jobs:
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Check features
run: ./ci/check-features.sh
run: ci/check-features.sh

# Check for duplicate dependencies.
dependencies:
Expand All @@ -104,7 +105,7 @@ jobs:
- name: Install cargo-minimal-versions
uses: taiki-e/install-action@cargo-minimal-versions
- name: dependency tree check
run: ./ci/dependencies.sh
run: ci/dependencies.sh

# When this job failed, run ci/no_atomic.sh and commit result changes.
codegen:
Expand Down Expand Up @@ -150,7 +151,7 @@ jobs:
- name: Install Rust
run: rustup update stable
- name: rustfmt
run: ./ci/rustfmt.sh
run: cargo fmt --all --check

# This branch no longer actively developed. Most commits to this
# branch are backporting and should not be blocked by clippy.
Expand All @@ -162,7 +163,7 @@ jobs:
# - name: Install Rust
# run: rustup update stable
# - name: clippy
# run: ./ci/clippy.sh
# run: cargo clippy --all --tests --examples

# Run miri.
miri:
Expand All @@ -172,7 +173,7 @@ jobs:
- name: Install Rust
run: rustup toolchain install nightly --component miri && rustup default nightly
- name: miri
run: ./ci/miri.sh
run: ci/miri.sh

# Run sanitizers.
san:
Expand All @@ -182,7 +183,7 @@ jobs:
- name: Install Rust
run: rustup update nightly && rustup default nightly
- name: Run sanitizers
run: ./ci/san.sh
run: ci/san.sh

# Run loom tests.
loom:
Expand All @@ -192,7 +193,7 @@ jobs:
- name: Install Rust
run: rustup update stable
- name: loom
run: ./ci/crossbeam-epoch-loom.sh
run: ci/crossbeam-epoch-loom.sh

# Check if the document can be generated without warning.
docs:
Expand All @@ -202,7 +203,7 @@ jobs:
- name: Install Rust
run: rustup update nightly && rustup default nightly
- name: docs
run: ./ci/docs.sh
run: cargo doc --no-deps --all --all-features

shellcheck:
runs-on: ubuntu-latest
Expand Down
8 changes: 0 additions & 8 deletions ci/clippy.sh

This file was deleted.

8 changes: 0 additions & 8 deletions ci/docs.sh

This file was deleted.

8 changes: 0 additions & 8 deletions ci/rustfmt.sh

This file was deleted.

0 comments on commit 7389cdf

Please sign in to comment.