update sample render image; #141
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: Unlogic CI | |
on: | |
push: | |
branches: [ ] | |
pull_request: | |
branches: [ ] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Update Package Manager | |
run: sudo apt update | |
- name: Install System Dependencies | |
run: sudo apt install -y build-essential cmake ninja-build llvm-18-dev wget libxkbcommon-x11-dev libxcb-icccm4-dev libxcb-image0-dev libx11-xcb-dev xcb | |
- name: Download QT | |
run: wget -O qt-installer.run https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-online-installer-linux-x64-4.8.1.run | |
- name: Install QT | |
run: | | |
sudo chmod +x ./qt-installer.run | |
sudo ./qt-installer.run \ | |
--accept-licenses \ | |
--accept-obligations \ | |
--default-answer \ | |
--confirm-command install qt6.8.0-full-dev | |
- uses: actions/checkout@v4 | |
- name: Configure Project | |
run: mkdir cmake-build-release && cd cmake-build-release && cmake .. -DCMAKE_BUILD_TYPE=Release -G "Ninja" | |
- name: Build Unlogic | |
run: cd cmake-build-release && cmake --build . --target unlogic | |
- name: Build Unlogic Calculator | |
run: cd cmake-build-release && cmake --build . --target unlogic-calculator | |
- name: Build Tests | |
run: cd cmake-build-release && cmake --build . --target unlogic-test | |
- name: Run Tests | |
run: cd cmake-build-release && ./unlogic-test |