From 43d1afbeeb9cba0ce1281a9cf2223b5bd71664d2 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Fri, 6 Nov 2020 23:52:56 +0000 Subject: 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. --- ci/script.sh | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 ci/script.sh (limited to 'ci/script.sh') 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 -- cgit