35 lines
759 B
YAML
35 lines
759 B
YAML
name: Ubuntu test
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
env:
|
|
BUILD_TYPE: Release
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository with submodules
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 1
|
|
|
|
- name: Проверка содержимого glfw
|
|
run: ls -la glfw
|
|
|
|
- name: Install Wayland and X11 dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y \
|
|
wayland-protocols libwayland-dev libxkbcommon-dev \
|
|
libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
|
|
|
|
- name: Configure CMake
|
|
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUI_
|