-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
author Philipp Kaeser <[email protected]> 1736885410 +0000 committer Philipp Kaeser <[email protected]> 1739545497 +0100 Enables/disables window menu items according to window's state.
- Loading branch information
Showing
19 changed files
with
398 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Build for Fedora Linux 41 | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build_matrix: | ||
strategy: | ||
matrix: | ||
compiler: [ "gcc", "clang" ] | ||
runs-on: ubuntu-latest | ||
container: | ||
image: fedora:41 | ||
|
||
steps: | ||
- name: Install package dependencies. | ||
run: | | ||
dnf -y upgrade | ||
dnf -y install \ | ||
bison \ | ||
clang \ | ||
cmake \ | ||
flex \ | ||
gcc \ | ||
git \ | ||
cairo-devel \ | ||
ncurses-devel \ | ||
wlroots-devel \ | ||
pkg-config \ | ||
plantuml \ | ||
wayland-protocols-devel \ | ||
xwayland-run | ||
- name: Checkout code, including git submodules. | ||
uses: actions/checkout@v3 | ||
with: | ||
# Not using 'recursive' prevents fetching extra submodules below | ||
# dependencies/. These are only needed to build wlroots from source. | ||
submodules: true | ||
|
||
- name: Configure wlmaker through CMake. | ||
run: | | ||
export CC="${{ matrix.compiler }}" | ||
cmake -B build/ -Dconfig_WERROR=ON | ||
- name: Build wlmaker. | ||
run: | | ||
export CC="${{ matrix.compiler }}" | ||
cmake --build build/ | ||
- name: Run all tests. | ||
run: | | ||
ctest --test-dir build/ --build-run-dir build/ -V |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[submodule "submodules/libbase"] | ||
path = submodules/libbase | ||
url = ../libbase | ||
url = https://github.com/phkaeser/libbase.git | ||
branch = main | ||
update = rebase | ||
[submodule "examples/gtk-layer-shell"] | ||
path = examples/gtk-layer-shell | ||
url = https://github.com/wmww/gtk-layer-shell.git | ||
[submodule "dependencies"] | ||
path = dependencies | ||
url = git@github.com:phkaeser/wlmaker-dependencies.git | ||
path = dependencies | ||
url = https://github.com/phkaeser/wlmaker-dependencies.git |
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
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.