Skip to content

Commit

Permalink
update ci;
Browse files Browse the repository at this point in the history
  • Loading branch information
NateSeymour committed Dec 2, 2024
1 parent c31b924 commit 1820422
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Generate Documentation
on:
push:
branches: [ "master" ]
branches: [ "main" ]
permissions:
contents: read
pages: write
Expand Down
18 changes: 3 additions & 15 deletions .github/workflows/unlogic-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Unlogic CI

on:
push:
branches: [ ]
branches: [ "main" ]
pull_request:
branches: [ ]
branches: [ "main" ]

jobs:
build:
Expand All @@ -13,24 +13,12 @@ jobs:
- 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
run: sudo apt install -y build-essential cmake ninja-build llvm-18-dev qt6-base-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
Expand Down

0 comments on commit 1820422

Please sign in to comment.