6.10: Sync config with archlinux #402
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |