File: Linux.yml

package info (click to toggle)
memtest86%2B 6.10-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,532 kB
  • sloc: ansic: 19,267; asm: 2,027; makefile: 367; sh: 134
file content (63 lines) | stat: -rw-r--r-- 1,414 bytes parent folder | download
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Build and tests

on:
  push:
    branches:
      - "*"
    paths-ignore:
      - "**/README.md"
  pull_request:
    branches:
      - "*"
  workflow_dispatch:

jobs:
  build:
    name: ${{ matrix.os }} ${{ matrix.compiler }}
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        compiler: [gcc, clang]
        os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04]

    steps:
      - uses: actions/checkout@v3
        with:
          submodules: recursive

      - name: Install Linux Dependencies
        run: sudo apt-get install build-essential gcc-multilib clang libc6-dev-i386-cross dosfstools mtools xorriso -y

      - name: Make all build32
        env:
          C: ${{matrix.compiler}}
        working-directory: ./build32
        run: make -j 2 all

      - name: Make clean build32
        working-directory: ./build32
        run: make clean

      - name: Make all build64
        env:
          C: ${{matrix.compiler}}
        working-directory: ./build64
        run: make -j 2 all

      - name: Make clean build64
        working-directory: ./build64
        run: make clean

      - name: Make iso build32
        env:
          C: ${{matrix.compiler}}
        working-directory: ./build32
        run: make -j 2 iso

      - name: Make iso build64
        env:
          C: ${{matrix.compiler}}
        working-directory: ./build64
        run: make -j 2 iso