Skip to content

Commit 0a96fbc

Browse files
committed
build: remove veryfiy build ci job in my fork
1 parent a66e051 commit 0a96fbc

1 file changed

Lines changed: 0 additions & 60 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -52,66 +52,6 @@ jobs:
5252
# due to Clippy not being consistent between them.
5353
- run: cargo clippy --workspace --exclude libc-test --exclude ctest-test --all-targets -- -D warnings
5454

55-
# This runs `cargo build --target ...` for all T1 and T2 targets`
56-
verify_build:
57-
name: Verify build
58-
strategy:
59-
matrix:
60-
toolchain: [stable, 1.65.0]
61-
include:
62-
# Nightly has a lot of targets, so split it in half
63-
- toolchain: nightly
64-
half: 1
65-
- toolchain: nightly
66-
half: 2
67-
- toolchain: beta
68-
only: '(aarch64|x86_64)' # just a spot check for beta
69-
- toolchain: stable
70-
- toolchain: 1.65.0 # msrv
71-
runs-on: ubuntu-24.04
72-
timeout-minutes: 25
73-
env:
74-
TOOLCHAIN: ${{ matrix.toolchain }}
75-
steps:
76-
- uses: actions/checkout@v6
77-
- name: Setup Rust toolchain
78-
run: ./ci/install-rust.sh
79-
80-
- name: Install semver-checks
81-
uses: taiki-e/install-action@cargo-semver-checks
82-
if: matrix.toolchain == 'stable'
83-
84-
- name: Retrieve semver baseline
85-
if: matrix.toolchain == 'stable'
86-
run: ./ci/prep-semver-baseline.sh
87-
88-
# FIXME(ci): These `du` statements are temporary for debugging cache
89-
- name: Target size before restoring cache
90-
run: du -sh target | sort -k 2 || true
91-
- uses: Swatinem/rust-cache@v2
92-
with:
93-
key: ${{ matrix.os }}-${{ matrix.toolchain }}
94-
- name: Target size after restoring cache
95-
run: du -sh target | sort -k 2 || true
96-
97-
- name: Execute build check
98-
run: |
99-
set -eux
100-
if [ "${{ matrix.toolchain }}" = "1.65.0" ]; then
101-
# Remove `-Dwarnings` at the MSRV since lints may be different
102-
export RUSTFLAGS=""
103-
# Remove `ctest` which uses the 2024 edition
104-
perl -i -ne 'print unless /"ctest(-test)?",/ || /"libc-test",/' Cargo.toml
105-
fi
106-
107-
python3 ci/verify-build.py \
108-
--toolchain "$TOOLCHAIN" \
109-
${BASELINE_CRATE_DIR:+"--baseline-crate-dir" "$BASELINE_CRATE_DIR"} \
110-
${{ matrix.only && format('--only "{0}"', matrix.only) }} \
111-
${{ matrix.half && format('--half "{0}"', matrix.half) }}
112-
- name: Target size after job completion
113-
run: du -sh target | sort -k 2
114-
11555
test_tier1:
11656
name: Test tier1
11757
strategy:

0 commit comments

Comments
 (0)