Skip to content

Commit 262c642

Browse files
authored
Install dependencies before building on Linux (utopia-rise#828)
* Add dependency action * Rename file to kebab case Snake case is ssssssuperior * Workaround Yes I am hastily doing this on my phone * Jigsaw falling into place So, there is nothing to explain * Add dependency checks to Linux build Okay, apt is doing the heavy lifting with the "check" here * Update action.yml Remove excess dependencies * Update action.yml
1 parent f0ac180 commit 262c642

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Install Linux dependencies
2+
description: Ensures all dependencies are installed
3+
4+
runs:
5+
using: composite
6+
steps:
7+
- name: Update repository cache
8+
shell: sh
9+
run: sudo apt-get update
10+
11+
- name: Install dependencies
12+
shell: sh
13+
run: sudo apt-get install -y libwayland-dev
14+

.github/workflows/build_linux.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ jobs:
7272
- name: Setup python and scons
7373
uses: ./.github/actions/godot-deps
7474

75+
- name: Install dependencies
76+
uses: ./modules/kotlin_jvm/.github/actions/install-linux-deps
77+
7578
- name: Compilation
7679
uses: ./.github/actions/godot-build
7780
with:

0 commit comments

Comments
 (0)