Skip to content

Commit cdee75e

Browse files
committed
fixed testing harness: made some amends, removed Cross.toml, build-std args in cmdline
1 parent a7ba844 commit cdee75e

File tree

3 files changed

+8
-26
lines changed

3 files changed

+8
-26
lines changed

.github/workflows/common.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: common
1+
name: Check
22

33
on:
44
push:
@@ -190,4 +190,5 @@ jobs:
190190
uses: ./.github/workflows/runtest.yml
191191
with:
192192
target: ${{ matrix.target }}
193-
channel: nightly
193+
channel: nightly
194+
build-std: true

.github/workflows/runtest.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
required: false
1313
type: string
1414
default: ''
15+
build-std:
16+
required: false
17+
type: boolean
18+
default: false
1519

1620
jobs:
1721
test:
@@ -37,7 +41,7 @@ jobs:
3741
with:
3842
use-cross: true
3943
command: build
40-
args: --target ${{ inputs.target }} ${{ inputs.channel == 'nightly' && '--features=nightly' || '' }}
44+
args: --target ${{ inputs.target }} ${{ inputs.channel == 'nightly' && '--features=nightly' || '' }} ${{ inputs.build-std && '-Z build-std=core' || '' }}
4145

4246
- name: Test
4347
uses: actions-rs/cargo@v1

Cross.toml

-23
This file was deleted.

0 commit comments

Comments
 (0)