~aleteoryx/muditaos

ref: 8d9719e8b9d3aa0f99af6f7405e63154e46a8d16 muditaos/.github/workflows/main.yml -rw-r--r-- 935 bytes
8d9719e8 — Szymon Mroczek [EGD-3510] audio codec configuration for headset microphone (#1004) 5 years ago
                                                                                
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
name: CI

on: [pull_request]

jobs:
  build:
    runs-on: self-hosted
    steps:
    - name: Check Out
      uses: actions/checkout@v2
      with:
        token: ${{ secrets.GitHub_PAT }}
        submodules: recursive
        fetch-depth: 0
    - name: "Copyright notice check"
      run: |
        config/license_header_check.sh --ci --check-only
    - name: "Style checking"
      run: |
        ./config/style_check_hook.sh --last
    - name: "Unit Tests"
      run: |
        ./configure.sh linux Debug && \
        pushd build-linux-Debug && \
        export JOBS=${JOBS:-`nproc`} &&\
        echo "JOBS=${JOBS}" &&\
        make -j ${JOBS} check && \
        popd 
    - name: "Build for RT1051"
      run: |
        ./configure.sh rt1051 Release && \
        pushd build-rt1051-Release && \
        export JOBS=${JOBS:-`nproc`} && \
        echo "JOBS=${JOBS}" && \
        make -j ${JOBS} && \
        popd && \
        uptime