Texture Animation #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linux-build | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
linux-build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: false | |
repository: novusengine/Engine | |
- name: Setup premake | |
uses: abel0b/setup-premake@v2 | |
with: | |
version: "5.0.0-beta1" | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && sudo apt-get install -yq clang | |
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100 | |
- name: Install Vulkan SDK | |
run: | | |
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc | |
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list http://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list | |
sudo apt update | |
sudo apt install vulkan-sdk | |
- name: Run Premake | |
run: | | |
export VULKAN_SDK=/usr/include/vulkan | |
premake5 gmake2 | |
- name: Build | |
run: | | |
cd Build | |
make -j 4 -k |