diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..685c390 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_test: + name: lilos + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - stable + - nightly + - beta + steps: + - uses: actions/checkout@v3 + - run: rm rust-toolchain.toml + - run: rustup update ${{ matrix.toolchain}} && rustup default ${{ matrix.toolchain }} + - run: ./build-all.sh