Merge pull request #146 from ventureoo/zram-tracking #132
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= _disable_debug=y" | |
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= _disable_debug=y" | |
pkgdir: "linux-cachyos" | |
namcapExcludeRules: "invalidstartdir" | |
makepkgArgs: "--skipchecksums --skippgpcheck --noconfirm -s" |