Skip to content

Commit 63815fd

Browse files
committed
XXX temporarily disable jobs while debugging CI
1 parent e390c5c commit 63815fd

File tree

1 file changed

+4
-136
lines changed

1 file changed

+4
-136
lines changed

.github/workflows/bindgen.yml

Lines changed: 4 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -9,87 +9,6 @@ on:
99
- master
1010

1111
jobs:
12-
rustfmt:
13-
runs-on: ubuntu-latest
14-
15-
steps:
16-
- uses: actions/checkout@v3
17-
18-
- name: Install stable
19-
uses: actions-rs/toolchain@v1
20-
with:
21-
profile: minimal
22-
# TODO: Should ideally be stable, but we use some nightly-only
23-
# features.
24-
toolchain: nightly
25-
override: true
26-
components: rustfmt, clippy
27-
28-
- name: Run rustfmt
29-
uses: actions-rs/cargo@v1
30-
with:
31-
command: fmt
32-
args: -- --check
33-
34-
- name: Run clippy
35-
uses: actions-rs/cargo@v1
36-
with:
37-
command: clippy
38-
args: --tests
39-
40-
msrv:
41-
runs-on: ubuntu-latest
42-
steps:
43-
- uses: actions/checkout@v3
44-
45-
- name: Install msrv
46-
uses: actions-rs/toolchain@v1
47-
with:
48-
profile: minimal
49-
# MSRV below is documented in Cargo.toml and README.md, please update those if you
50-
# change this.
51-
toolchain: 1.57.0
52-
override: true
53-
54-
- name: Build with msrv
55-
run: rm Cargo.lock && cargo +1.57.0 build --lib
56-
57-
quickchecking:
58-
runs-on: ubuntu-latest
59-
steps:
60-
- uses: actions/checkout@v3
61-
62-
- name: Install stable
63-
uses: actions-rs/toolchain@v1
64-
with:
65-
profile: minimal
66-
toolchain: stable
67-
override: true
68-
69-
# TODO: Actually run quickchecks once `bindgen` is reliable enough.
70-
- name: Build quickcheck tests
71-
run: cd tests/quickchecking && cargo test
72-
73-
test-expectations:
74-
runs-on: ${{matrix.os}}
75-
strategy:
76-
matrix:
77-
# TODO(#1954): These should be run on mac too, but turns out they're
78-
# broken.
79-
os: [ubuntu-latest, macos-latest]
80-
steps:
81-
- uses: actions/checkout@v3
82-
83-
- name: Install stable
84-
uses: actions-rs/toolchain@v1
85-
with:
86-
profile: minimal
87-
toolchain: stable
88-
override: true
89-
90-
- name: Test expectations
91-
run: cd tests/expectations && cargo test
92-
9312
test:
9413
runs-on: ${{matrix.os}}
9514
strategy:
@@ -99,48 +18,16 @@ jobs:
9918
- debian: null
10019
cross: null
10120
rust: null
102-
llvm_version: ["5.0", "9.0"]
21+
llvm_version: ["9.0"]
10322
main_tests: [1]
104-
release_build: [0, 1]
105-
no_default_features: [0, 1]
23+
release_build: [0]
24+
no_default_features: [0]
10625
# FIXME: There are no pre-built static libclang libraries, so the
10726
# `static` feature is not testable atm.
108-
feature_runtime: [0, 1]
27+
feature_runtime: [0]
10928
feature_extra_asserts: [0]
11029
feature_testing_only_docs: [0]
11130

112-
include:
113-
# Test with extra asserts + docs just with latest llvm versions to
114-
# prevent explosion
115-
- os: ubuntu-latest
116-
llvm_version: "9.0"
117-
release_build: 0
118-
no_default_features: 0
119-
feature_extra_asserts: 1
120-
feature_testing_only_docs: 1
121-
122-
# FIXME: Seems installing multiarch packages fails:
123-
#
124-
# https://github.com/rust-lang/rust-bindgen/pull/2037/checks?check_run_id=2441799333
125-
#
126-
# - os: ubuntu-latest
127-
# target:
128-
# debian: arm64
129-
# cross: aarch64-linux-gnu
130-
# rust: aarch64-unknown-linux-gnu
131-
# llvm_version: "9.0"
132-
# main_tests: 0
133-
# release_build: 0
134-
# feature_extra_asserts: 0
135-
# feature_testing_only_docs: 0
136-
137-
# Ensure stuff works on macos too
138-
- os: macos-latest
139-
llvm_version: "9.0"
140-
release_build: 0
141-
no_default_features: 0
142-
feature_extra_asserts: 0
143-
feature_testing_only_docs: 0
14431
steps:
14532
- uses: actions/checkout@v3
14633

@@ -180,22 +67,3 @@ jobs:
18067
BINDGEN_FEATURE_TESTING_ONLY_DOCS: ${{matrix.feature_testing_only_docs}}
18168
BINDGEN_NO_DEFAULT_FEATURES: ${{matrix.no_default_features}}
18269
run: ./ci/test.sh
183-
184-
test-book:
185-
runs-on: ubuntu-latest
186-
steps:
187-
- uses: actions/checkout@v3
188-
189-
- name: Install stable
190-
uses: actions-rs/toolchain@v1
191-
with:
192-
profile: minimal
193-
toolchain: stable
194-
override: true
195-
196-
# NOTE(emilio): Change deploy-book as well if you change this.
197-
- name: Test book
198-
run: |
199-
curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.5/mdbook-v0.4.5-x86_64-unknown-linux-gnu.tar.gz | tar xz
200-
./mdbook build book
201-
./mdbook test book

0 commit comments

Comments
 (0)