-
Notifications
You must be signed in to change notification settings - Fork 14
92 lines (79 loc) · 2.83 KB
/
build-acs-kernel.yml
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: Build RPMs
on:
workflow_dispatch:
jobs:
build-fc39:
runs-on: ubuntu-latest
name: Build Fedora 39 kernel with ACS override patch
steps:
- name: Checkout this repo
uses: actions/checkout@v4
- name: Free up disk space
run: |
sudo apt-get -qq purge build-essential "ghc*"
sudo apt-get clean
# cleanup docker images not used by us
docker system prune -af
# free up a lot of stuff from /usr/local
sudo rm -rf /usr/local
df -h
- name: Build the Fedora 39 RPMs
id: build-rpms
uses: ./fc39-action
- name: Upload the RPMs as artifacts
uses: actions/upload-artifact@v3
with:
name: kernel-${{ steps.build-rpms.outputs.kernel-version }}-fc39-acs-override-rpms
path: |
/home/runner/work/_temp/_github_home/rpmbuild/RPMS/x86_64/
!/home/runner/work/_temp/_github_home/rpmbuild/RPMS/x86_64/*debug*.rpm
build-fc38:
runs-on: ubuntu-latest
name: Build Fedora 38 kernel with ACS override patch
steps:
- name: Checkout this repo
uses: actions/checkout@v4
- name: Free up disk space
run: |
sudo apt-get -qq purge build-essential "ghc*"
sudo apt-get clean
# cleanup docker images not used by us
docker system prune -af
# free up a lot of stuff from /usr/local
sudo rm -rf /usr/local
df -h
- name: Build the Fedora 38 RPMs
id: build-rpms
uses: ./fc38-action
- name: Upload the RPMs as artifacts
uses: actions/upload-artifact@v3
with:
name: kernel-${{ steps.build-rpms.outputs.kernel-version }}-fc38-acs-override-rpms
path: |
/home/runner/work/_temp/_github_home/rpmbuild/RPMS/x86_64/
!/home/runner/work/_temp/_github_home/rpmbuild/RPMS/x86_64/*debug*.rpm
build-fc37:
runs-on: ubuntu-latest
name: Build Fedora 37 kernel with ACS override patch
steps:
- name: Checkout this repo
uses: actions/checkout@v4
- name: Free up disk space
run: |
sudo apt-get -qq purge build-essential "ghc*"
sudo apt-get clean
# cleanup docker images not used by us
docker system prune -af
# free up a lot of stuff from /usr/local
sudo rm -rf /usr/local
df -h
- name: Build the Fedora 37 RPMs
id: build-rpms
uses: ./fc37-action
- name: Upload the RPMs as artifacts
uses: actions/upload-artifact@v3
with:
name: kernel-${{ steps.build-rpms.outputs.kernel-version }}-fc37-acs-override-rpms
path: |
/home/runner/work/_temp/_github_home/rpmbuild/RPMS/x86_64/
!/home/runner/work/_temp/_github_home/rpmbuild/RPMS/x86_64/*debug*.rpm