Skip to content

fix: issue with glb widget input #114

fix: issue with glb widget input

fix: issue with glb widget input #114

Workflow file for this run

name: CMake
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
BUILD_TYPE: Release
jobs:
build_win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
with:
path: ${{github.workspace}}\build\_deps
key: wincache
- 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: Upload a Build Artifact
uses: actions/[email protected]
with:
name: libTGEngineWindows
path: |
${{github.workspace}}\build\TGEngine\Release\TGEngine.lib
if-no-files-found: error
build_linux:
runs-on: ubuntu-22.04
steps:
- name: Update apt
run: |
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.216-focal.list https://packages.lunarg.com/vulkan/1.3.216/lunarg-vulkan-1.3.216-focal.list
sudo apt update
sudo apt install vulkan-sdk
- name: Update Clang
run: sudo apt install clang-14 --install-suggests
- uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
with:
path: ${{github.workspace}}/build/_deps
key: linuxcache
- name: Configure CMake
run: cmake ./TGEngine -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=clang++
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: libTGEngineLinux
path: |
${{github.workspace}}/build/libTGEngine.a
if-no-files-found: error