Skip to content

Commit 87e46a4

Browse files
committed
simplify the build-only job
1 parent db3f20f commit 87e46a4

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/tests.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,6 @@ jobs:
118118
build:
119119
name: Build-only
120120
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-
]
131121
steps:
132122
- uses: actions/checkout@v2
133123
- name: Install toolchain
@@ -138,7 +128,18 @@ jobs:
138128
toolchain: nightly
139129
components: rust-src
140130
override: true
141-
- run: cargo build --target ${{ matrix.target }}
131+
- name: Solaris
132+
run: cargo build --target x86_64-sun-solaris
133+
- name: FreeBSD
134+
run: cargo build --target x86_64-unknown-freebsd
135+
- name: NetBSD
136+
run: cargo build --target x86_64-unknown-netbsd
137+
- name: Fuchsia
138+
run: cargo build --target x86_64-fuchsia
139+
- name: Redox
140+
run: cargo build --target x86_64-unknown-redox
141+
- name: SGX
142+
run: cargo build --target x86_64-fortanix-unknown-sgx
142143

143144
build-rdrand:
144145
name: Build-only RDRAND

0 commit comments

Comments
 (0)