2023-08-31 22:29:40 +02:00
|
|
|
name: C/C++ CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-08-31 22:54:36 +02:00
|
|
|
branches: [ "*" ]
|
2023-08-31 22:29:40 +02:00
|
|
|
pull_request:
|
|
|
|
branches: [ "main" ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: update deps
|
|
|
|
run: sudo apt-get -y update
|
|
|
|
- name: install deps
|
2023-09-18 11:19:46 +02:00
|
|
|
run: sudo apt install pkgconf libreadline-dev libsdl1.2-compat-dev libsdl-gfx1.2-dev libx11-dev libxext-dev
|
|
|
|
- name: make x11
|
|
|
|
run: make clean-all && make GUI=x11
|
2023-09-15 09:53:03 +02:00
|
|
|
- name: make
|
|
|
|
run: make clean-all && make
|