Skip to content

Remove outdated travis yml and badge #29

Remove outdated travis yml and badge

Remove outdated travis yml and badge #29

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build_and_test:
name: Build and Test
strategy:
matrix:
os:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Build
run: cargo build -vv
- name: Test
run: cargo test -vv
env:
RUST_BACKTRACE: 1
build_result:
name: Result
runs-on: ubuntu-latest
needs:
- "build_and_test"
steps:
- name: Mark the job as successful
if: ${{ !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
run: exit 0
- name: Mark the job as unsuccessful
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
run: exit 1