forked from quickshell/quickshell
ci: test compilation against supported qt version / compiler matrix
This commit is contained in:
parent
57a5d8e1ed
commit
cb426973d7
7 changed files with 102 additions and 4 deletions
21
.github/workflows/nix-build.yml
vendored
Normal file
21
.github/workflows/nix-build.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Build (Nix)
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build (Nix)
|
||||
strategy:
|
||||
matrix:
|
||||
qtver: [qt6.8.0, qt6.7.3, qt6.7.2, qt6.7.1, qt6.7.0, qt6.6.3, qt6.6.2, qt6.6.1, qt6.6.0]
|
||||
compiler: [clang, gcc]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# Use cachix action over detsys for testing with act.
|
||||
# - uses: cachix/install-nix-action@v27
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
|
||||
- run: nix-build --no-out-link --expr "(import ./ci/matrix.nix) { qtver = \"$QTVER\"; compiler = \"$COMPILER\"; }"
|
||||
env:
|
||||
QTVER: ${{ matrix.qtver }}
|
||||
COMPILER: ${{ matrix.compiler }}
|
Loading…
Add table
Add a link
Reference in a new issue