Merge pull request #612 from theKidOfArcrania/master
Add tests for verbatim paths on windows builds
This commit is contained in:
commit
ba01751407
2 changed files with 15 additions and 0 deletions
|
|
@ -19,6 +19,11 @@ jobs:
|
|||
- target: aarch64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
rust: nightly
|
||||
- target: aarch64-pc-windows-msvc
|
||||
os: windows-latest
|
||||
rust: nightly
|
||||
test_verbatim: 1
|
||||
no_std: 1
|
||||
- target: arm-unknown-linux-gnueabi
|
||||
os: ubuntu-latest
|
||||
rust: nightly
|
||||
|
|
@ -78,9 +83,11 @@ jobs:
|
|||
- target: i686-pc-windows-msvc
|
||||
os: windows-latest
|
||||
rust: nightly
|
||||
test_verbatim: 1
|
||||
- target: x86_64-pc-windows-msvc
|
||||
os: windows-latest
|
||||
rust: nightly
|
||||
test_verbatim: 1
|
||||
- target: i686-pc-windows-gnu
|
||||
os: windows-latest
|
||||
rust: nightly-i686-gnu
|
||||
|
|
@ -109,6 +116,9 @@ jobs:
|
|||
- run: ./ci/run.sh ${{ matrix.target }}
|
||||
if: matrix.os != 'ubuntu-latest'
|
||||
shell: bash
|
||||
env:
|
||||
NO_STD: ${{ matrix.no_std }}
|
||||
TEST_VERBATIM: ${{ matrix.test_verbatim }}
|
||||
|
||||
# Otherwise we use our docker containers to run builds
|
||||
- run: cargo generate-lockfile && ./ci/run-docker.sh ${{ matrix.target }}
|
||||
|
|
|
|||
|
|
@ -32,6 +32,11 @@ else
|
|||
$run --features no-f16-f128 --release
|
||||
fi
|
||||
|
||||
if [ "${TEST_VERBATIM:-}" = "1" ]; then
|
||||
verb_path=$(cmd.exe //C echo \\\\?\\%cd%\\testcrate\\target2)
|
||||
cargo build --manifest-path testcrate/Cargo.toml --target $target --target-dir $verb_path --features c
|
||||
fi
|
||||
|
||||
if [ -d /builtins-target ]; then
|
||||
rlib_paths=/builtins-target/"${target}"/debug/deps/libcompiler_builtins-*.rlib
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue