Skip to content

Commit 5c7d6c2

Browse files
committed
run build-only without rust-src
1 parent b14823a commit 5c7d6c2

1 file changed

Lines changed: 39 additions & 39 deletions

File tree

.github/workflows/tests.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -115,31 +115,31 @@ jobs:
115115
# - name: Test
116116
# run: cross test --no-fail-fast --target ${{ matrix.target }}
117117

118-
# build:
119-
# name: Build-only
120-
# runs-on: ubuntu-latest
121-
# strategy:
122-
# matrix:
123-
# target: [
124-
# x86_64-sun-solaris,
125-
# x86_64-unknown-freebsd,
126-
# x86_64-fuchsia,
127-
# x86_64-unknown-netbsd,
128-
# x86_64-unknown-redox,
129-
# x86_64-fortanix-unknown-sgx,
130-
# ]
131-
# steps:
132-
# - uses: actions/checkout@v2
133-
# - name: Install toolchain
134-
# uses: actions-rs/toolchain@v1
135-
# with:
136-
# profile: minimal
137-
# target: ${{ matrix.target }}
138-
# toolchain: nightly
139-
# components: rust-src
140-
# override: true
141-
# - name: Build
142-
# run: cargo build --target ${{ matrix.target }}
118+
build:
119+
name: Build-only
120+
runs-on: ubuntu-latest
121+
strategy:
122+
matrix:
123+
target: [
124+
x86_64-sun-solaris,
125+
x86_64-unknown-freebsd,
126+
x86_64-fuchsia,
127+
x86_64-unknown-netbsd,
128+
x86_64-unknown-redox,
129+
x86_64-fortanix-unknown-sgx,
130+
]
131+
steps:
132+
- uses: actions/checkout@v2
133+
- name: Install toolchain
134+
uses: actions-rs/toolchain@v1
135+
with:
136+
profile: minimal
137+
target: ${{ matrix.target }}
138+
toolchain: nightly
139+
# components: rust-src
140+
override: true
141+
- name: Build
142+
run: cargo build --target ${{ matrix.target }}
143143

144144
# build-rdrand:
145145
# name: Build-only RDRAND
@@ -169,17 +169,17 @@ jobs:
169169
# - name: VxWorks
170170
# run: cargo xbuild --features=rdrand --target x86_64-wrs-vxworks
171171

172-
clippy-fmt:
173-
name: Clippy + rustfmt
174-
runs-on: ubuntu-latest
175-
steps:
176-
- uses: actions/checkout@v1
177-
- uses: actions-rs/toolchain@v1
178-
with:
179-
profile: minimal
180-
toolchain: stable
181-
components: rustfmt, clippy
182-
- name: clippy
183-
run: cargo clippy --all
184-
- name: fmt
185-
run: cargo fmt --all -- --check
172+
# clippy-fmt:
173+
# name: Clippy + rustfmt
174+
# runs-on: ubuntu-latest
175+
# steps:
176+
# - uses: actions/checkout@v1
177+
# - uses: actions-rs/toolchain@v1
178+
# with:
179+
# profile: minimal
180+
# toolchain: stable
181+
# components: rustfmt, clippy
182+
# - name: clippy
183+
# run: cargo clippy --all
184+
# - name: fmt
185+
# run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)