• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: CI
2on:
3  push:
4    branches:
5      - master
6  pull_request:
7    branches:
8      - master
9
10
11jobs:
12  build_and_test:
13    name: Build and Test
14    runs-on: ubuntu-latest
15    steps:
16      - uses: actions/checkout@v2
17
18      - name: Install LLVM and Clang
19        uses: KyleMayes/install-llvm-action@v1
20        with:
21          version: "11.0"
22          directory: ${{ runner.temp }}/llvm-11.0
23
24      - uses: actions-rs/toolchain@v1
25        with:
26          toolchain: stable
27
28      - uses: actions-rs/cargo@v1
29        with:
30          command: test
31          args: --verbose --all
32