Files
LNXSDK/Kha/.github/workflows/linux-hl-opengl.yml
2026-05-21 23:40:20 -07:00

30 lines
788 B
YAML

name: Linux (HL, OpenGL)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Apt Update
run: sudo apt-get update
- name: Apt Install
run: sudo apt-get install libasound2-dev libxinerama-dev libxrandr-dev libgl1-mesa-dev libxi-dev libxcursor-dev libudev-dev libwayland-dev wayland-protocols libxkbcommon-dev ninja-build --yes --quiet
- name: Get DLC
run: ./get_dlc
- name: Get Node.js
run: git clone https://github.com/Kode/nodejs_bin.git --depth 1
- name: Setup Node.js
run: nodejs_bin/copysysbin.sh
- name: Compile
run: nodejs_bin/node make.js linux-hl -g opengl --kha . --from Tests/Empty --compile