linux_vulkan.yml 759 B

1234567891011121314151617181920212223242526272829
  1. name: Linux (Vulkan)
  2. on:
  3. push:
  4. branches:
  5. - main
  6. pull_request:
  7. branches:
  8. - main
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v3
  14. - name: Apt Update
  15. run: sudo apt-get update
  16. - name: Apt Install
  17. run: sudo apt-get install libasound2-dev libxrandr-dev libxinerama-dev libgl1-mesa-dev libxi-dev libxcursor-dev libudev-dev libgtk-3-dev --yes --quiet
  18. - name: Get Submodules
  19. run: git submodule update --init --recursive
  20. - name: Clone krafix
  21. run: git clone --recursive https://github.com/armory3d/glsl_to_spirv armorpaint/glsl_to_spirv
  22. - name: Compile
  23. run: |
  24. cd armorpaint
  25. ../armorcore/Kinc/make --from ../armorcore -g vulkan --compiler clang