Update
This commit is contained in:
33
Kha/.github/workflows/linux-vulkan.yml
vendored
Normal file
33
Kha/.github/workflows/linux-vulkan.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
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-noble.list http://packages.lunarg.com/vulkan/lunarg-vulkan-noble.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 DLC
|
||||
run: ./get_dlc
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/Kode/nodejs_bin.git --depth 1
|
||||
- name: Setup Node.js
|
||||
run: nodejs_bin/copysysbin.sh
|
||||
- name: Compile
|
||||
run: nodejs_bin/node make.js -g vulkan --kha . --from Tests/Empty --compile
|
||||
Reference in New Issue
Block a user