Skip to content

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

v4 update

tilakpatel223d96158c08a9
diff --git a/.cirrus.yml b/.cirrus.yml
index 5d8aed64d..63cf682af 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -26,24 +26,22 @@ build_task:
# ── Homebrew tools cache (no Qt here — Qt installed via aqtinstall) ────────
brew_cache:
folder: "$HOME/Library/Caches/Homebrew"
- fingerprint_script: echo "brew-tools-ccache-ninja-cmake-py312-pipx-$(date +%Y-%m)"
+ fingerprint_script: echo "brew-tools-ccache-ninja-cmake-py312-$(date +%Y-%m)"
populate_script:
- - brew install ccache ninja cmake [email protected] pipx
+ - brew install ccache ninja cmake [email protected]
# ── Qt cache — keyed to exact version + modules ───────────────────────────
qt_cache:
folder: "$HOME/Qt"
- fingerprint_script: echo "qt-${QT_VERSION}-macos-clang_64-${QT_MODULES}"
+ fingerprint_script: echo "qt-${QT_VERSION}-macos-clang_64-${QT_MODULES}-v2"
populate_script:
# aqtinstall installs the official Qt release including private headers.
# This is the same tool jurplel/install-qt-action uses on GitHub Actions.
# Syntax: aqt install-qt --outputdir <dir> <host> <target> <version> [arch] -m <modules...>
# arch=clang_64 is the correct Qt 6 macOS identifier (universal binary, arm64+x86_64)
# Install path will be: $HOME/Qt/6.8.3/macos/
- - brew install pipx
- - pipx ensurepath
- - pipx install aqtinstall
- - pipx run aqt install-qt --outputdir "$HOME/Qt" mac desktop ${QT_VERSION} clang_64 -m ${QT_MODULES}
+ - pip3 install --break-system-packages aqtinstall
+ - aqt install-qt --outputdir "$HOME/Qt" mac desktop ${QT_VERSION} clang_64 -m ${QT_MODULES}
# ── ccache build artifact cache ───────────────────────────────────────────
ccache_cache:
diff --git a/.github/workflows/test-setup.yml b/.github/workflows/test-setup.yml
index 0f12d9942..1b5573ce4 100644
--- a/.github/workflows/test-setup.yml
+++ b/.github/workflows/test-setup.yml
@@ -4,80 +4,76 @@ on:
workflow_dispatch:
jobs:
- test-setup:
- strategy:
- fail-fast: false
- matrix:
- include:
- - os: ubuntu-22.04
- platform: Linux
- binary: fincept-qt/build/FinceptTerminal
+ # ── Test exact Cirrus CI Qt install commands on real macOS runner ──────────
+ # Run this job to validate .cirrus.yml commands before pushing to Cirrus.
+ # Uses macos-15 (Sequoia) — same OS as ghcr.io/cirruslabs/macos-runner:sequoia
+ test-cirrus-macos:
+ name: Test Cirrus Qt Install (macOS arm64)
+ runs-on: macos-15
- - os: macos-14
- platform: macOS
- binary: fincept-qt/build/FinceptTerminal
-
- - os: windows-2022
- platform: Windows
- binary: fincept-qt/build/Release/FinceptTerminal.exe
-
- runs-on: ${{ matrix.os }}
- name: ${{ matrix.platform }}
+ env:
+ QT_VERSION: "6.8.3"
+ QT_MODULES: "qtcharts qtwebsockets qtmultimedia"
+ QT_INSTALL_DIR: "$HOME/Qt"
steps:
- name: Checkout
uses: actions/checkout@v4
-
- # ── Qt6 (Windows/macOS via installer action) ────────────
- - name: Install Qt6 (Windows/macOS)
- if: runner.os != 'Linux'
- uses: jurplel/install-qt-action@v4
with:
- version: "6.8.3"
- arch: ${{ runner.os == 'Windows' && 'win64_msvc2022_64' || 'clang_64' }}
- modules: "qtcharts qtwebsockets qtsql"
- cache: true
+ submodules: recursive
+
+ # Step 1 — install build tools (mirrors brew_cache in .cirrus.yml)
+ - name: Install build tools via brew
+ run: brew install ccache ninja cmake [email protected]
+
+ # Step 2 — install Qt via aqtinstall (mirrors qt_cache in .cirrus.yml)
+ - name: Install aqtinstall
+ run: pip3 install --break-system-packages aqtinstall
+
+ - name: Install Qt ${{ env.QT_VERSION }} via aqt
+ run: |
+ aqt install-qt --outputdir "$HOME/Qt" \
+ mac desktop ${{ env.QT_VERSION }} clang_64 \
+ -m ${{ env.QT_MODULES }}
- # ── Linux — install deps and build directly ─────────────
- - name: Build (Linux)
- if: runner.os == 'Linux'
+ - name: Verify Qt install
run: |
- sudo apt-get update -qq
- sudo apt-get install -y \
- cmake g++ python3 python3-pip \
- qt6-base-dev libqt6charts6-dev qt6-tools-dev \
- libqt6sql6-sqlite libqt6websockets6-dev \
- libgl1-mesa-dev libglu1-mesa-dev pkg-config
- cd fincept-qt
- cmake -B build -DCMAKE_BUILD_TYPE=Release
- cmake --build build --parallel
+ QT_ROOT="$HOME/Qt/${{ env.QT_VERSION }}/macos"
+ echo "Qt root: $QT_ROOT"
+ ls "$QT_ROOT/bin/" | grep qmake
+ "$QT_ROOT/bin/qmake" --version
+ echo "Qt6::GuiPrivate check:"
+ ls "$QT_ROOT/include/QtGui/private/" | head -5
- # ── macOS — run setup.sh --ci ───────────────────────────
- - name: Build (macOS)
- if: runner.os == 'macOS'
+ # Step 3 — configure CMake (mirrors configure_script in .cirrus.yml)
+ - name: Configure CMake
run: |
- chmod +x setup.sh
- ./setup.sh --ci
+ QT_ROOT="$HOME/Qt/${{ env.QT_VERSION }}/macos"
+ cmake -B fincept-qt/build \
+ -S fincept-qt \
+ -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_PREFIX_PATH="${QT_ROOT}" \
+ -DCMAKE_OSX_ARCHITECTURES=arm64 \
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DFINCEPT_BUILD_INSTALLER=OFF \
+ -DDEPLOY_QT=OFF
- # ── Windows — build using MSVC environment ──────────────
- - name: Build (Windows)
- if: runner.os == 'Windows'
- shell: cmd
+ # Step 4 — build (mirrors build_script in .cirrus.yml)
+ - name: Build
run: |
- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
- cd fincept-qt
- cmake -B build -DCMAKE_BUILD_TYPE=Release
- cmake --build build --config Release --parallel
+ cmake --build fincept-qt/build \
+ --config Release \
+ --parallel $(sysctl -n hw.logicalcpu)
- # ── Verify binary exists ────────────────────────────────
- name: Verify binary
- shell: bash
run: |
- if [ ! -f "${{ matrix.binary }}" ]; then
- echo "ERROR: Binary not found at ${{ matrix.binary }}"
- ls -la fincept-qt/build/ 2>/dev/null || true
- ls -la fincept-qt/build/Release/ 2>/dev/null || true
+ EXE="fincept-qt/build/FinceptTerminal"
+ if [ ! -f "$EXE" ] && [ ! -d "fincept-qt/build/FinceptTerminal.app" ]; then
+ echo "ERROR: binary not found"
+ find fincept-qt/build -maxdepth 3 -name "FinceptTerminal*" || true
exit 1
fi
- echo "Binary verified: ${{ matrix.binary }}"
- ls -lh "${{ matrix.binary }}"
+ echo "Build succeeded"
+ file "$EXE" 2>/dev/null || file "fincept-qt/build/FinceptTerminal.app/Contents/MacOS/FinceptTerminal"
diff --git a/.gitignore b/.gitignore
index 5dee92e55..28ecde9a2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,9 @@
# .gitignore — Fincept Terminal (Qt6 / C++20)
# ============================================================
+# ── CI config (local only) ──────────────────────────────────
+.cirrus.yml
+
# ── CMake build output ───────────────────────────────────────
fincept-qt/build/
fincept-qt/build-*/