Nuklear/.github/workflows/ccpp.yml

50 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2019-12-04 16:18:26 +03:00
name: C/C++ CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
2019-12-04 16:18:26 +03:00
steps:
- uses: actions/checkout@v4
2019-12-04 16:35:04 +03:00
- name: apt-update
run: sudo apt-get update -qq
2023-11-16 22:41:27 +03:00
- name: apt get demo-libs
run: sudo apt-get install -y --no-install-recommends liballegro5-dev liballegro-image5-dev liballegro-ttf5-dev libglfw3 libglfw3-dev libglew-dev libsdl2-dev libwayland-dev libx11-dev libxft-dev wayland-protocols
- name: build allegro5
run: make -C demo/allegro5
- name: build glfw_opengl2
2019-12-04 16:35:04 +03:00
run: make -C demo/glfw_opengl2
2023-11-16 22:41:27 +03:00
- name: build glfw_opengl3
2019-12-04 16:35:04 +03:00
run: make -C demo/glfw_opengl3
2023-11-16 22:41:27 +03:00
- name: build glfw_opengl4
run: make -C demo/glfw_opengl4
# - name: build glfw_vulkan
# run: make -C demo/glfw_vulkan
- name: build sdl_opengl2
run: make -C demo/sdl_opengl2
- name: build sdl_opengl3
run: make -C demo/sdl_opengl3
- name: build sdl_opengles2
run: make -C demo/sdl_opengles2
- name: build sdl_renderer
run: make -C demo/sdl_renderer
- name: build sdl_rawfb
run: make -C demo/rawfb/sdl
2023-11-16 22:41:27 +03:00
- name: build wayland_rawfb
run: make -C demo/rawfb/wayland
2023-11-16 22:41:27 +03:00
- name: build x11
run: make -C demo/x11
- name: build x11_opengl2
run: make -C demo/x11_opengl2
- name: build x11_opengl3
run: make -C demo/x11_opengl3
- name: build x11_rawfb
run: make -C demo/rawfb/x11
2023-11-16 22:41:27 +03:00
- name: build x11_xft
run: make -C demo/x11_xft
2019-12-04 16:35:04 +03:00
- name: build example
run: make -C example