diff options
author | Pietro Albini <pietro@pietroalbini.org> | 2020-12-07 16:57:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 16:57:45 +0100 |
commit | 27fed98997c839c88ae1c01a0c5a7d84a2b68ddd (patch) | |
tree | 95d1bc1609c8ab81bb32c37ea5c7e8226b189db1 | |
parent | d66f476b4d5e7fdf1ec215c9ac16c923dc292324 (diff) | |
parent | 8571ca103db706f7f5f067fb27e0a9ee6ec6bf51 (diff) | |
download | rust-installer-27fed98997c839c88ae1c01a0c5a7d84a2b68ddd.tar.gz |
Merge pull request #104 from rust-lang/gha
Switch from Travis CI to GitHub Actions
-rw-r--r-- | .github/workflows/ci.yml | 23 | ||||
-rw-r--r-- | .travis.yml | 9 |
2 files changed, 23 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..57a5cb7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +--- + +name: CI +on: [push, pull_request] + +jobs: + test: + name: Test + runs-on: ubuntu-latest + env: + LZMA_API_STATIC: 1 + steps: + - name: Checkout the source code + uses: actions/checkout@v2 + + - name: Install Rust stable + run: rustup toolchain update stable && rustup default stable + + - name: Build the tool + run: cargo build + + - name: Execute the test suite + run: ./test.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8a58eb0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: rust -rust: - - stable - - beta - - nightly -script: - - export LZMA_API_STATIC=1 - - cargo build - - ./test.sh |