Skip to content

Commit 8af831e

Browse files
authored
Merge pull request #14 from stslex/dev
Dev
2 parents dfd68f5 + 610d442 commit 8af831e

23 files changed

Lines changed: 5603 additions & 484 deletions

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v5
1818

19+
# This workflow builds the whole workspace, which now includes the
20+
# splitway-gui crate (eframe/glow). The GUI compiles without these (its
21+
# windowing/GL libs are dlopen'd at runtime, not linked at build time), so
22+
# the build is green without them — but install them anyway to stay
23+
# consistent with ci.yml and robust against future image/eframe changes
24+
# that could add a build-time link. Runner is always ubuntu-latest here.
25+
- name: Install Linux GUI build dependencies
26+
run: |
27+
sudo apt-get update
28+
sudo apt-get install -y --no-install-recommends \
29+
libxkbcommon-dev libwayland-dev libgl1-mesa-dev \
30+
libx11-dev libxcursor-dev libxi-dev libxrandr-dev
31+
1932
- name: Build
2033
run: cargo build --verbose
2134

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ jobs:
2929
with:
3030
components: rustfmt, clippy
3131

32+
# splitway-gui (eframe/egui, glow renderer) links a windowing/GL stack on
33+
# Linux; install the dev libraries so clippy/test/build compile it. macOS
34+
# uses system frameworks (Cocoa/Metal) and needs none. rfd uses the XDG
35+
# desktop portal (pure-Rust zbus), so no GTK dev package is required.
36+
- name: Install Linux GUI build dependencies
37+
if: runner.os == 'Linux'
38+
run: |
39+
sudo apt-get update
40+
sudo apt-get install -y --no-install-recommends \
41+
libxkbcommon-dev libwayland-dev libgl1-mesa-dev \
42+
libx11-dev libxcursor-dev libxi-dev libxrandr-dev
43+
3244
- name: Format
3345
run: cargo fmt --all -- --check
3446

0 commit comments

Comments
 (0)