forked from memtest86plus/memtest86plus
-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (52 loc) · 1.37 KB
/
Linux.yml
File metadata and controls
63 lines (52 loc) · 1.37 KB
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-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