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: aa3b669e307b9c793c7c6984b9f71a2543717b68 (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
name: Test after any code changes
on:
  workflow-dispatch:
  push:
    paths:
      - '**.c'
      - '**.h'
      - '**.py'
  pull_request:
    paths:
      - '**.c'
      - '**.h'
      - '**.py'

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 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