Skip to content

Fix compilation for Non-Windows #140

Fix compilation for Non-Windows

Fix compilation for Non-Windows #140

Workflow file for this run

name: Linux (Vulkan)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get LunarG key
run: wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
- name: Get LunarG apt sources
run: sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.275-jammy.list https://packages.lunarg.com/vulkan/1.3.275/lunarg-vulkan-1.3.275-jammy.list
- name: Apt Update
run: sudo apt update
- name: Apt Install
run: sudo apt install libasound2-dev libxinerama-dev libxrandr-dev libgl1-mesa-dev libxi-dev libxcursor-dev libudev-dev vulkan-sdk libwayland-dev wayland-protocols libxkbcommon-dev ninja-build --yes --quiet
- name: Get Submodules
run: ./get_dlc
- name: Compile
run: ./make -g vulkan --kinc . --from Tests/Empty --compile