# HG changeset patch # User Martin Habovštiak # Date 1606486705 -3600 # Node ID 27456533853e5c6525c3f7890cdebbe443e436ff # Parent 66c0e10c89fcdd3b94b4f2e9ced5adac5c22a4f6 Attempt to setup CI using GitHub Actions This sets up CI to test the crate on Ubuntu, Windows and macOS. It's expected to fail on Windows now and it will be fixed after we know which things need to be configured-away. diff -r 66c0e10c89fc -r 27456533853e .github/workflows/rust.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.github/workflows/rust.yml Fri Nov 27 15:18:25 2020 +0100 @@ -0,0 +1,26 @@ +name: Rust + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + workflow_dispatch: + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macOS-latest] + + steps: + - uses: actions/checkout@v2 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --all-features --verbose