Skip to content

Commit

Permalink
fix build action
Browse files Browse the repository at this point in the history
  • Loading branch information
LDprg committed Mar 17, 2024
1 parent 219b3af commit e4bf079
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install LLVM and Clang
uses: KyleMayes/[email protected]
with:
version: "17.0"
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Python Dependencies
run: pip install meson ninja
- name: Install Mesa & SDL2
run: sudo apt-get install -y libsdl2-dev mesa-utils mesa-common-dev libwayland-dev libwayland-egl-backend-dev
- name: Install Project Dependencies
run: sudo apt-get install -y libglfw3-dev libwayland-dev libvulkan-dev
- name: Prepare Build
run: meson setup build
env:
CC: clang
CXX: clang++
- name: Run Build
run: meson compile -v -C build
env:
CC: clang
CXX: clang++
- name: Run Test Suite
run: meson test -v -C build
env:
CC: clang
CXX: clang++

on:
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion subprojects/JustEnoughMod

0 comments on commit e4bf079

Please sign in to comment.