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 dependencies (Wayland, X11, Vulkan, OpenGL) 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 \ libvulkan-dev mesa-common-dev - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - name: Build run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} #- name: Test # working-directory: ${{github.workspace}}/build # run: ctest -C ${{env.BUILD_TYPE}}