summaryrefslogtreecommitdiffstats
path: root/src/tools/rust-installer/.github/workflows/ci.yml
blob: 57a5cb76e6101ae7172f0130199a6f51a8f66bff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---

name: CI
on: [push, pull_request]

jobs:
  test:
    name: Test
    runs-on: ubuntu-latest
    env:
      LZMA_API_STATIC: 1
    steps:
      - name: Checkout the source code
        uses: actions/checkout@v2

      - name: Install Rust stable
        run: rustup toolchain update stable && rustup default stable

      - name: Build the tool
        run: cargo build

      - name: Execute the test suite
        run: ./test.sh