Skip to content

Commit 73d3650

Browse files
committed
GHA Apple - Restore unit tests
1 parent 6c30434 commit 73d3650

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/apple.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,18 @@ jobs:
7474
- name: make install
7575
run: cmake --build build --config Release --target install
7676

77-
# - name: test install using examples
78-
# if: matrix.config.name != 'iOS'
79-
# run: |
80-
# # Test that the in-tree install was successful by building the examples
81-
# cmake -S examples -B examples/build \
82-
# -DLSL_INSTALL_ROOT=${PWD}/install \
83-
# -DCMAKE_INSTALL_PREFIX=examples/build/install \
84-
# -DLSL_COMFY_DEFAULTS=ON \
85-
# ${{ matrix.config.cmake_extra }} \
86-
# ${{ github.event.inputs.cmakeextra }}
87-
# cmake --build examples/build --target install --config Release -j
88-
# ./examples/build/install/bin/HandleMetaData
77+
- name: test install using examples
78+
if: matrix.config.name != 'iOS'
79+
run: |
80+
# Test that the in-tree install was successful by building the examples
81+
cmake -S examples -B examples/build \
82+
-DLSL_INSTALL_ROOT=${PWD}/install \
83+
-DCMAKE_INSTALL_PREFIX=examples/build/install \
84+
-DLSL_COMFY_DEFAULTS=ON \
85+
${{ matrix.config.cmake_extra }} \
86+
${{ github.event.inputs.cmakeextra }}
87+
cmake --build examples/build --target install --config Release -j
88+
./examples/build/install/bin/HandleMetaData
8989
9090
- name: Codesign
9191
run: |
@@ -105,13 +105,13 @@ jobs:
105105
codesign -vvv --verify --deep --strict install/Frameworks/lsl.framework
106106
107107
# run internal tests
108-
# - name: unit tests
109-
# if: matrix.config.name != 'iOS'
110-
# run: |
111-
# mkdir -p dumps
112-
# install/bin/lsl_test_internal --order rand --wait-for-keypress never --durations yes
113-
# install/bin/lsl_test_exported --order rand --wait-for-keypress never --durations yes
114-
# timeout-minutes: 10
108+
- name: unit tests
109+
if: matrix.config.name != 'iOS'
110+
run: |
111+
mkdir -p dumps
112+
install/bin/lsl_test_internal --order rand --wait-for-keypress never --durations yes
113+
install/bin/lsl_test_exported --order rand --wait-for-keypress never --durations yes
114+
timeout-minutes: 10
115115

116116
- name: Package and Notarize macOS Installer
117117
if: matrix.config.name == 'macOS-latest'

0 commit comments

Comments
 (0)