-
Notifications
You must be signed in to change notification settings - Fork 27
29 lines (29 loc) · 789 Bytes
/
linux.yml
File metadata and controls
29 lines (29 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Linux
on: [push]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Basic linting
run: .github/ci.py
- name: Install dependencies
run: |
sudo apt update
sudo apt install just
just ubuntu
- name: Configure with CMake and GCC
run: just cmake
- name: Build Debug
run: just debug all
- name: Build Release
run: just release all
- name: Install unittest dependencies
run: sudo apt install xserver-xorg-core xserver-xorg-video-dummy
- name: Unittest
run: |
cd build
Xorg -config ../data/xorg.conf &>/dev/null &
sleep 1 # wait for Xorg to boot up
DISPLAY=:0 ./Debug/jngl-unittest
DISPLAY=:0 ./Release/jngl-unittest