File: unit.yml

package info (click to toggle)
kpatch 0.9.11-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,796 kB
  • sloc: ansic: 9,950; sh: 2,677; makefile: 260; asm: 35
file content (26 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (2)
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
name: build and unit tests

on: [push, pull_request]

jobs:
  build:
    strategy:
      matrix:
        cflags: [ "", "-O2", "-O3" ]
    runs-on: ubuntu-latest
    env:
      CFLAGS: ${{ matrix.cflags }}
    steps:
    - uses: actions/checkout@v3
    - name: dependencies
      run: sudo apt-get install -y libelf-dev linux-headers-$(uname -r) shellcheck elfutils
    - name: make
      run: make
    - name: submodule update
      run: git submodule update --init
    - name: make unit
      run: make unit
    - name: make check
      run: make check
    - name: install
      run: sudo make install