~aleteoryx/muditaos

ref: b7bc7cc89fc09f93240473b8aef047f349d2e8c0 muditaos/.github/workflows/main.yml -rw-r--r-- 824 bytes
b7bc7cc8 — Marcin Smoczyński changelog: update for v0.42.1 (#820) 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
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: "Style checking"
      run: |
        ./config/pre-commit.hook --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