You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/.github/workflows/build-aya.yml

42 lines
699 B
YAML

name: Build aya
on:
push:
branches:
- main
- ci
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- name: Build
run: cargo build --verbose
- name: Run tests
run: RUST_BACKTRACE=full cargo test --verbose
test:
runs-on: ubuntu-20.04
needs: build
container:
image: ghcr.io/aya-rs/aya-test-rtf:main
steps:
- uses: actions/checkout@v2
- name: Run regression tests
run: |
ln -s /root/.rustup ${HOME}/.rustup
cd test
rtf -vvv run