summaryrefslogtreecommitdiff
path: root/cc/ci
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-11-01 07:45:35 -0700
committerDaniel Mueller <deso@posteo.net>2019-11-01 07:45:35 -0700
commit9091de47826b82ce357c77090f35e3faaf22091a (patch)
treed6e55728a7136c809b5b284e61a27f38d6a079ab /cc/ci
parent49be10a8179165d24bbb8eb3490c4ca6f94b42c4 (diff)
downloadnitrocli-9091de47826b82ce357c77090f35e3faaf22091a.tar.gz
nitrocli-9091de47826b82ce357c77090f35e3faaf22091a.tar.bz2
Update cc crate to 1.0.48
This change updates the cc crate to version 1.0.48. Import subrepo cc/:cc at be9f2c1ae05b336aa3d07a4cbefdc1d88a3d8a91
Diffstat (limited to 'cc/ci')
-rw-r--r--cc/ci/azure-install-rust.yml38
-rw-r--r--cc/ci/azure-steps.yml28
2 files changed, 0 insertions, 66 deletions
diff --git a/cc/ci/azure-install-rust.yml b/cc/ci/azure-install-rust.yml
deleted file mode 100644
index 9c1bae8..0000000
--- a/cc/ci/azure-install-rust.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-steps:
- - bash: |
- set -e
- toolchain=$TOOLCHAIN
- if [ "$toolchain" = "" ]; then
- toolchain=stable
- fi
- if command -v rustup; then
- rustup update $toolchain
- rustup default $toolchain
- else
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $toolchain
- echo "##vso[task.prependpath]$HOME/.cargo/bin"
- fi
- displayName: Install rust (unix)
- condition: ne( variables['Agent.OS'], 'Windows_NT' )
-
- - bash: |
- set -e
- toolchain=$TOOLCHAIN
- if [ "$toolchain" = "" ]; then
- toolchain=stable-$TARGET
- fi
- if command -v rustup; then
- rustup update --no-self-update $toolchain
- rustup default $toolchain
- else
- curl.exe -sSf -o rustup-init.exe https://win.rustup.rs
- ./rustup-init.exe -y --default-toolchain $toolchain
- echo "##vso[task.prependpath]$USERPROFILE/.cargo/bin"
- fi
- displayName: Install rust (windows)
- condition: eq( variables['Agent.OS'], 'Windows_NT' )
-
- - script: |
- rustc -Vv
- cargo -V
- displayName: Query rust and cargo versions
diff --git a/cc/ci/azure-steps.yml b/cc/ci/azure-steps.yml
deleted file mode 100644
index bbf8ec6..0000000
--- a/cc/ci/azure-steps.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-steps:
- - template: azure-install-rust.yml
- - bash: rustup target add $TARGET
- displayName: Install Rust target
-
- # Remove the ubuntu-toolchain-r/test PPA, which is added by default. Some
- # packages were removed, and this is causing the g++multilib install to fail.
- # Similar issue: https://github.com/scikit-learn/scikit-learn/issues/13928
- - bash: sudo add-apt-repository --remove ppa:ubuntu-toolchain-r/test
- condition: eq( variables['Agent.OS'], 'Linux' )
- displayName: Remove ppa:ubuntu-toolchain-r/test
-
- - bash: sudo apt-get install g++-multilib
- condition: eq( variables['Agent.OS'], 'Linux' )
- displayName: Install g++-multilib
-
- - script: cargo build
- displayName: "Normal build"
- - bash: cargo test $NO_RUN
- displayName: "Crate tests"
- - bash: cargo test $NO_RUN --features parallel
- displayName: "Crate tests (parallel)"
- - bash: cargo test $NO_RUN --manifest-path cc-test/Cargo.toml --target $TARGET
- displayName: "cc-test tests"
- - bash: cargo test $NO_RUN --manifest-path cc-test/Cargo.toml --target $TARGET --features parallel
- displayName: "cc-test tests (parallel)"
- - bash: cargo test $NO_RUN --manifest-path cc-test/Cargo.toml --target $TARGET --release
- displayName: "cc-test tests (release)"