Welcome to mirror list, hosted at ThFree Co, Russian Federation.

trigger_on_code_change.yml « workflows « .github - github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c2266b28177ce8ba818d12f2ebcde1d5fa7bb3ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Test after code changes
on:
  workflow_dispatch:
  push:
    paths:
      - '**.c'
      - '**.h'
      - '**.py'
      - '**.sh'
      - '**.yml'
      - '**.proto'
      - '**.mk'
      - '**.cmake'
  pull_request:
    paths:
      - '**.c'
      - '**.h'
      - '**.py'
      - '**.sh'
      - '**.yml'
      - '**.proto'
      - '**.mk'
      - '**.cmake'

jobs:
  smoke_test:
    name: Run test suite on Ubuntu 20.04
    runs-on: ubuntu-20.04

    steps:
      - name: Check out code from GitHub
        uses: actions/checkout@v2
        with:
          path: nanopb

      - name: Install dependencies
        run: |
          sudo apt-get install python3-protobuf protobuf-compiler scons splint valgrind

      - name: Run tests
        run: |
          cd nanopb/tests
          scons
  
  fuzz_tests:
    needs: smoke_test
    uses: ./.github/workflows/cifuzz.yml
  
  binary_builds:
    needs: smoke_test
    uses: ./.github/workflows/binary_packages.yml