-
-
Notifications
You must be signed in to change notification settings - Fork 36
34 lines (34 loc) · 1.06 KB
/
lint.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
name: Build and lint
on:
push:
paths:
- 'linux-cachyos/PKGBUILD'
- '.github/workflows/lint.yml'
workflow_dispatch:
jobs:
linux-cachyos-zfs-gcc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build (GCC)
id: makepkg
uses: CachyOS/pkgbuild-action@master
with:
envvars: "_build_zfs=y _use_auto_optimization= _processor_opt=generic _cc_size=y _cc_harder="
pkgdir: "linux-cachyos"
namcapExcludeRules: "invalidstartdir"
makepkgArgs: "--skipchecksums --skippgpcheck --noconfirm -s"
linux-cachyos-zfs-llvm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build (LLVM)
id: makepkg
uses: CachyOS/pkgbuild-action@master
with:
envvars: "_build_zfs=y _use_llvm_lto=thin _use_auto_optimization= _processor_opt=generic _cc_size=y _cc_harder="
pkgdir: "linux-cachyos"
namcapExcludeRules: "invalidstartdir"
makepkgArgs: "--skipchecksums --skippgpcheck --noconfirm -s"