mirror of
https://github.com/ekzhang/bore.git
synced 2024-12-23 01:05:21 +07:00
a2b8382681
* Add GitHub CI/CD * Add instructions for installing bin from GitHub releases * Will work after a new version is released * Add windows jobs for CI/CD * Only run CI on stable rust * Use `cargo fmt` instead of `rustfmt`, undo change * Delete install.sh * Update README.md Co-authored-by: Eric Zhang <ekzhang1@gmail.com>
17 lines
359 B
Bash
Executable File
17 lines
359 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Script for building your rust projects.
|
|
set -e
|
|
|
|
source ci/common.bash
|
|
|
|
# $1 {path} = Path to cross/cargo executable
|
|
CROSS=$1
|
|
# $1 {string} = <Target Triple>
|
|
TARGET_TRIPLE=$2
|
|
|
|
required_arg $CROSS 'CROSS'
|
|
required_arg $TARGET_TRIPLE '<Target Triple>'
|
|
|
|
$CROSS test --target $TARGET_TRIPLE
|
|
$CROSS test --target $TARGET_TRIPLE --all-features
|