Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite342996

Browse files
author
Kenji Hollis
committed
Updated to use scripts instead of relying solely on circle.yml file.
1 parentb93df78 commite342996

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

‎circle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dependencies:
33
-rm -f ~/.gitconfig
44
-if [ ! -f "/home/ubuntu/rustup.sh" ]; then curl https://sh.rustup.rs -sSf > /home/ubuntu/rustup.sh && chmod ogu+x /home/ubuntu/rustup.sh && /home/ubuntu/rustup.sh -y ; fi
55
-echo "source $HOME/.cargo/env" >> ~/.bashrc
6-
-cargobuild
6+
-/bin/bash scripts/circleci/build.sh
77

88
cache_directories:
99
-"~/rustup.sh"
@@ -12,4 +12,4 @@ dependencies:
1212

1313
test:
1414
override:
15-
-cargotest
15+
-/bin/bash scripts/circleci/test.sh

‎scripts/circleci/build.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
#
3+
# Build script to build
4+
5+
source~/.cargo/env
6+
7+
echo
8+
echo"Setting default to nightly build of Rust."
9+
rustup default nightly
10+
rustup overrideset nightly
11+
12+
echo
13+
echo"Building Project."
14+
RUST_BACKTRACE=1 cargo build

‎scripts/circleci/test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
#
3+
# Runs the test suite
4+
5+
source~/.cargo/env
6+
RUST_BACKTRACE=1 cargotest

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp