aboutsummaryrefslogtreecommitdiff
path: root/ci/script.sh
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-11-06 23:52:56 +0000
committerGitHub <noreply@github.com>2020-11-06 23:52:56 +0000
commit43d1afbeeb9cba0ce1281a9cf2223b5bd71664d2 (patch)
tree874e6352f8733ee61a28170bb171eb6acb6e5e19 /ci/script.sh
parent3957a2555dbd81271d3e29a2f0b8f07258037e7b (diff)
downloadr-alacritty-43d1afbeeb9cba0ce1281a9cf2223b5bd71664d2.tar.gz
r-alacritty-43d1afbeeb9cba0ce1281a9cf2223b5bd71664d2.tar.bz2
r-alacritty-43d1afbeeb9cba0ce1281a9cf2223b5bd71664d2.zip
Migrate from Travis CI to GitHub Actions
This removes all CI builds from travis-ci, due to their recent changes in policy and harsh limitations on builds. With build times over 2 hours, it was a significant hindrance to development. Instead of Travis CI, the CI is now split on Sourcehut and GitHub. Since Sourcehut only supports Linux/BSD, all builds on those operating systems are executed there. The GitHub Actions CI is used to build for Windows/macOS, which are not available on Sourcehut. Since asset deployment for releases requires builds on all platforms, this is also done on GitHub actions. Though the new `upload_asset.sh` script makes sure that migration in the future is fairly simple and we do not tie ourselves to the overly complicated GitHub Actions ecosystem.
Diffstat (limited to 'ci/script.sh')
-rwxr-xr-xci/script.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/ci/script.sh b/ci/script.sh
deleted file mode 100755
index cc4656ae..00000000
--- a/ci/script.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-# Run clippy checks
-if [ "$CLIPPY" == "true" ]; then
- cargo clippy --all-targets
- exit
-fi
-
-# Run test in release mode if a tag is present, to produce an optimized binary
-if [ -n "$TRAVIS_TAG" ]; then
- # Build separately so we generate an 'alacritty' binary without -HASH appended
- cargo build --release
- cargo test --release
-else
- cargo test
-fi