diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..85cb677 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI + +on: + - push + - pull_request + +jobs: + build: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v3 + + - name: Build + run: cargo build + + - name: Test + run: cargo test -- --include-ignored + + #- name: clippy + #run: cargo clippy --all-targets -- -D warnings diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 51595db..0000000 --- a/.travis.yml +++ /dev/null @@ -1,31 +0,0 @@ -sudo: false -language: rust -addons: - apt: - packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev - - binutils-dev - -rust: - - 1.7.0 - - nightly - - beta - - stable - -before_script: - - | - pip install 'travis-cargo<0.2' --user && - export PATH=$HOME/.local/bin:$PATH - -script: - - travis-cargo build - - if [[ "$TRAVIS_RUST_VERSION" == "1.7.0" ]]; then travis-cargo test -- --features legacy ; fi - - if [[ "$TRAVIS_RUST_VERSION" != "1.7.0" ]]; then travis-cargo test ; fi -#after_success: - #- travis-cargo coveralls --no-sudo --verify - -env: - global: - - TRAVIS_CARGO_NIGHTLY_FEATURE=nightly diff --git a/README.adoc b/README.adoc index 7439a9d..5f86ed7 100644 --- a/README.adoc +++ b/README.adoc @@ -2,7 +2,7 @@ CBV archive extractor written in Rust. -image:https://img.shields.io/travis/antoyo/uncbv.svg[link="https://travis-ci.org/antoyo/uncbv"] +image:https://img.shields.io/github/workflow/status/antoyo/uncbv/CI[link="https://github.com/antoyo/uncbv/actions"] //image:https://img.shields.io/coveralls/antoyo/uncbv.svg[link="https://coveralls.io/github/antoyo/uncbv"] image:https://img.shields.io/crates/v/uncbv.svg[link="https://crates.io/crates/uncbv"] image:https://img.shields.io/crates/d/uncbv.svg[link="https://crates.io/crates/uncbv"]