Skip to content

Commit

Permalink
Default to native runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Sep 10, 2019
1 parent fc6d350 commit 49a2fef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ strategy:
i686-apple-darwin: { TARGET: i686-apple-darwin, CPP: 1, DYLIB: 1, STD: 1, RUN: 1, VM_IMAGE: macOS-10.13 }
x86_64-apple-darwin: { TARGET: x86_64-apple-darwin, CPP: 1, DYLIB: 1, STD: 1, RUN: 1, VM_IMAGE: macOS-latest, DEPLOY: 1 }
x86_64-pc-windows-gnu: { TARGET: x86_64-pc-windows-gnu, CPP: 1, STD: 1, RUN: 1 }
# i686-pc-windows-gnu: { TARGET: i686-pc-windows-gnu, CPP: 1, STD: 1, RUN: 1 }
i686-pc-windows-gnu: { TARGET: i686-pc-windows-gnu, CPP: 1, STD: 1, RUN: 1 }
x86_64-unknown-dragonfly: { TARGET: x86_64-unknown-dragonfly, CPP: 1, DYLIB: 1, OPENSSL: 0.10.24, TOOLCHAIN: nightly }
# i686-unknown-freebsd: { TARGET: i686-unknown-freebsd, DYLIB: 1, STD: 1, OPENSSL: 0.10.24 }
# x86_64-unknown-freebsd: { TARGET: x86_64-unknown-freebsd, DYLIB: 1, STD: 1, OPENSSL: 0.10.24 }
Expand Down
File renamed without changes.
8 changes: 6 additions & 2 deletions docker/linux-runner
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand All @@ -14,7 +14,11 @@ arch=$1
shift

if [ "$CROSS_RUNNER" = "" ]; then
CROSS_RUNNER=qemu-user
if [ "${arch}" = 'i686' ] || [ "${arch}" = 'x86_64' ]; then
CROSS_RUNNER=native
else
CROSS_RUNNER=qemu-user
fi
fi

# select qemu arch
Expand Down

0 comments on commit 49a2fef

Please sign in to comment.