-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'quickshell-mirror:master' into master
- Loading branch information
Showing
121 changed files
with
2,729 additions
and
1,340 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Build | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
nix: | ||
name: 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 | ||
|
||
- name: Download Dependencies | ||
run: nix-build --no-out-link --expr '((import ./ci/matrix.nix) { qtver = "${{ matrix.qtver }}"; compiler = "${{ matrix.compiler }}"; }).inputDerivation' | ||
|
||
- name: Build | ||
run: nix-build --no-out-link --expr '(import ./ci/matrix.nix) { qtver = "${{ matrix.qtver }}"; compiler = "${{ matrix.compiler }}"; }' | ||
|
||
archlinux: | ||
name: Archlinux | ||
runs-on: ubuntu-latest | ||
container: archlinux | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Download Dependencies | ||
run: | | ||
pacman --noconfirm --noprogressbar -Syyu | ||
pacman --noconfirm --noprogressbar -Sy \ | ||
base-devel \ | ||
cmake \ | ||
ninja \ | ||
pkgconf \ | ||
qt6-base \ | ||
qt6-declarative \ | ||
qt6-svg \ | ||
qt6-wayland \ | ||
qt6-shadertools \ | ||
wayland-protocols \ | ||
wayland \ | ||
libxcb \ | ||
libpipewire \ | ||
cli11 \ | ||
jemalloc | ||
- name: Build | ||
# breakpad is annoying to build in ci due to makepkg not running as root | ||
run: | | ||
cmake -GNinja -B build -DCRASH_REPORTER=OFF | ||
cmake --build build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Lint | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
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 | ||
- uses: nicknovitski/nix-develop@v1 | ||
|
||
- name: Check formatting | ||
run: clang-format -Werror --dry-run src/**/*.{cpp,hpp} | ||
|
||
# required for lint | ||
- name: Build | ||
run: | | ||
just configure debug -DNO_PCH=ON -DBUILD_TESTING=ON | ||
just build | ||
- name: Run lints | ||
run: just lint |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
qtver, | ||
compiler, | ||
}: let | ||
nixpkgs = (import ./nix-checkouts.nix).${builtins.replaceStrings ["."] ["_"] qtver}; | ||
compilerOverride = (nixpkgs.callPackage ./variations.nix {}).${compiler}; | ||
pkg = (nixpkgs.callPackage ../default.nix {}).override compilerOverride; | ||
in pkg |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
let | ||
byCommit = { | ||
commit, | ||
sha256, | ||
}: import (builtins.fetchTarball { | ||
name = "nixpkgs-${commit}"; | ||
url = "https://github.com/nixos/nixpkgs/archive/${commit}.tar.gz"; | ||
inherit sha256; | ||
}) {}; | ||
in { | ||
# For old qt versions, grab the commit before the version bump that has all the patches | ||
# instead of the bumped version. | ||
|
||
qt6_8_0 = byCommit { | ||
commit = "23e89b7da85c3640bbc2173fe04f4bd114342367"; | ||
sha256 = "1b2v6y3bja4br5ribh9lj6xzz2k81dggz708b2mib83rwb509wyb"; | ||
}; | ||
|
||
qt6_7_3 = byCommit { | ||
commit = "273673e839189c26130d48993d849a84199523e6"; | ||
sha256 = "0aca369hdxb8j0vx9791anyzy4m65zckx0lriicqhp95kv9q6m7z"; | ||
}; | ||
|
||
qt6_7_2 = byCommit { | ||
commit = "841f166ff96fc2f3ecd1c0cc08072633033d41bf"; | ||
sha256 = "0d7p0cp7zjiadhpa6sdafxvrpw4lnmb1h673w17q615vm1yaasvy"; | ||
}; | ||
|
||
qt6_7_1 = byCommit { | ||
commit = "69bee9866a4e2708b3153fdb61c1425e7857d6b8"; | ||
sha256 = "1an4sha4jsa29dvc4n9mqxbq8jjwg7frl0rhy085g73m7l1yx0lj"; | ||
}; | ||
|
||
qt6_7_0 = byCommit { | ||
commit = "4fbbc17ccf11bc80002b19b31387c9c80276f076"; | ||
sha256 = "09lhgdqlx8j9a7vpdcf8sddlhbzjq0s208spfmxfjdn14fvx8k0j"; | ||
}; | ||
|
||
qt6_6_3 = byCommit { | ||
commit = "8f1a3fbaa92f1d59b09f2d24af6a607b5a280071"; | ||
sha256 = "0322zwxvmg8v2wkm03xpk6mqmmbfjgrhc9prcx0zd36vjl6jmi18"; | ||
}; | ||
|
||
qt6_6_2 = byCommit { | ||
commit = "0bb9cfbd69459488576a0ef3c0e0477bedc3a29e"; | ||
sha256 = "172ww486jm1mczk9id78s32p7ps9m9qgisml286flc8jffb6yad8"; | ||
}; | ||
|
||
qt6_6_1 = byCommit { | ||
commit = "8eecc3342103c38eea666309a7c0d90d403a039a"; | ||
sha256 = "1lakc0immsgrpz3basaysdvd0sx01r0mcbyymx6id12fk0404z5r"; | ||
}; | ||
|
||
qt6_6_0 = byCommit { | ||
commit = "1ded005f95a43953112ffc54b39593ea2f16409f"; | ||
sha256 = "1xvyd3lj81hak9j53mrhdsqx78x5v2ppv8m2s54qa2099anqgm0f"; | ||
}; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
clangStdenv, | ||
gccStdenv, | ||
}: { | ||
clang = { buildStdenv = clangStdenv; }; | ||
gcc = { buildStdenv = gccStdenv; }; | ||
} |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.