• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: linux
2
3# Controls when the action will run. Triggers the workflow on push or pull request
4# events but only for the master branch
5on: [push, pull_request]
6
7# A workflow run is made up of one or more jobs that can run
8# sequentially or in parallel
9jobs:
10  # This workflow contains a single job called "build"
11  build:
12    runs-on: ubuntu-latest
13
14    # Steps represent a sequence of tasks that will be executed as part of the job
15    steps:
16      # Checks-out your repository under $GITHUB_WORKSPACE, so your job
17      # can access it
18      - uses: actions/checkout@v2
19
20      - name: setup prerequisites
21        shell: bash
22        run: |
23          sudo apt update
24          sudo apt install autoconf automake libtool libudev-dev m4
25
26      - name: bootstrap
27        shell: bash
28        run: ./bootstrap.sh
29
30      - name: netlink
31        shell: bash
32        run: .private/ci-build.sh --build-dir build-netlink -- --disable-udev
33
34      - name: udev
35        shell: bash
36        run: .private/ci-build.sh --build-dir build-udev -- --enable-udev
37
38      - name: umockdev test
39        run: .private/ci-container-build.sh docker.io/amd64/ubuntu:rolling
40