Add CI to test Ubuntu build

+ Refactor CMakeLists
This commit is contained in:
2022-07-16 20:11:07 -04:00
parent 3497b97f6e
commit 82b06c247d
3 changed files with 31 additions and 10 deletions

26
.github/workflows/build-test.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Build Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
Ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: '6.2.3'
- name: Install Assimp
run: |
sudo apt install libassimp-dev -y
- name: Build Qtk
run: |
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.2.3/gcc_64/ && cmake --build .