Skip to content

Commit

Permalink
ci: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sthalik committed Jan 12, 2024
1 parent cdb1881 commit 0c4b38b
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: CMake

on:
push:
branches: [ master ]
tags:
- '*'
pull_request:
branches: [ master ]
- push
- pull_request

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand All @@ -32,7 +28,25 @@ jobs:
cmake: .\.github\workflows\build-windows.bat cmake

steps:
- uses: actions/checkout@v2
- name: clone opentrack/opentrack
uses: actions/checkout@v2

- name: clone opentrack/depends
uses: actions/checkout@v2
with:
repository: opentrack/depends
ref: refs/heads/master
submodules: true
path: opentrack-depends

- name: clone opentrack/depends-nonfree
uses: actions/checkout@v2
with:
repository: opentrack/depends-nonfree
ref: refs/heads/master
submodules: true
path: opentrack-depends/nonfree

- uses: seanmiddleditch/gha-setup-ninja@master

- name: Install Linux Dependencies
Expand Down
34 changes: 34 additions & 0 deletions sdk-paths-runneradmin@MSVC-windows.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#
# qtbase configure line for safekeeping
#

# "../configure" -prefix d:\dev\qt-5.10.0 -no-ico -no-gif \
# -opengl desktop -no-fontconfig -no-harfbuzz \
# -nomake tests -no-mp -release -opensource -shared -confirm-license \
# -no-freetype -force-debug-info -separate-debug-info \
# -make-tool jom -platform win32-msvc -static-runtime

# remember to change -MD to -MT in mkspecs/
# also add CFLAGS -Zi and LFLAGS -DEBUG

set(__depdir "${CMAKE_CURRENT_LIST_DIR}/opentrack-depends")

function(setq name value)
set("${name}" "${__depdir}/${value}" CACHE INTERNAL "" FORCE)
endfunction()

set(opentrack_install-debug-info FALSE CACHE INTERNAL "" FORCE)

#setq(EIGEN3_INCLUDE_DIR "eigen")
#setq(OpenCV_DIR "../opencv")
#setq(SDK_ARUCO_LIBPATH "../aruco")
#setq(SDK_FSUIPC "fsuipc")
#setq(SDK_HYDRA "SixenseSDK")
#setq(SDK_KINECT20 "../Kinect-v2.0")
#setq(SDK_LIBUSB "libusb-msvc-x86")
#setq(SDK_REALSENSE "../RSSDK-R2")
#setq(SDK_RIFT_140 "ovr_sdk_win_23.0.0/LibOVR")
#setq(SDK_VALVE_STEAMVR "steamvr")
#setq(SDK_VJOYSTICK "vjoystick")
#setq(ONNXRuntime_DIR "../onnxruntime-1.12.1")
#setq(SDK_TRACKHAT_SENSOR "../trackhat-c-library-driver")

0 comments on commit 0c4b38b

Please sign in to comment.