Skip to content

Commit 5665934

Browse files
committed
Turn off tests for non-WIndows for now
1 parent b6ff49c commit 5665934

File tree

1 file changed

+17
-43
lines changed

1 file changed

+17
-43
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: CI
22

33
on:
4-
workflow_dispatch:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
58

69
jobs:
710
windows:
@@ -40,16 +43,16 @@ jobs:
4043

4144
- name: Configure CMake
4245
run: |
43-
cmake -B Build -G Xcode
46+
cmake -B Build -G Xcode -DARCANA_TESTS=OFF
4447
4548
- name: Build
4649
run: |
4750
cmake --build Build --config ${{ matrix.config }}
4851
49-
- name: Test
50-
working-directory: Build
51-
run: |
52-
ctest -C ${{ matrix.config }} --output-on-failure --verbose
52+
# - name: Test
53+
# working-directory: Build
54+
# run: |
55+
# ctest -C ${{ matrix.config }} --output-on-failure --verbose
5356

5457
ios:
5558
name: iOS
@@ -68,43 +71,13 @@ jobs:
6871
-DCMAKE_SYSTEM_NAME=iOS \
6972
-DCMAKE_OSX_DEPLOYMENT_TARGET=12.0 \
7073
-DCMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH=NO \
71-
-DCMAKE_IOS_INSTALL_COMBINED=YES
74+
-DCMAKE_IOS_INSTALL_COMBINED=YES \
75+
-DARCANA_TESTS=OFF
7276
7377
- name: Build for ${{ matrix.platform }}
7478
run: |
7579
cmake --build Build --config ${{ matrix.config }} -- -sdk ${{ matrix.platform }}
7680
77-
android:
78-
name: Android
79-
runs-on: ubuntu-latest
80-
strategy:
81-
matrix:
82-
config: [Debug, Release]
83-
abi: [armeabi-v7a, arm64-v8a, x86, x86_64]
84-
85-
steps:
86-
- uses: actions/checkout@v4
87-
88-
- name: Setup Android NDK
89-
uses: nttld/setup-ndk@v1
90-
with:
91-
ndk-version: r25c
92-
add-to-path: false
93-
94-
- name: Configure CMake for Android
95-
run: |
96-
cmake -B Build \
97-
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake \
98-
-DANDROID_ABI=${{ matrix.abi }} \
99-
-DANDROID_PLATFORM=android-21 \
100-
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
101-
env:
102-
ANDROID_NDK_ROOT: ${{ steps.setup-ndk.outputs.ndk-path }}
103-
104-
- name: Build
105-
run: |
106-
cmake --build Build --config ${{ matrix.config }}
107-
10881
linux:
10982
name: Linux
11083
runs-on: ubuntu-latest
@@ -133,13 +106,14 @@ jobs:
133106
cmake -B Build \
134107
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
135108
-DCMAKE_C_COMPILER=${{ matrix.cc }} \
136-
-DCMAKE_CXX_COMPILER=${{ matrix.cxx }}
109+
-DCMAKE_CXX_COMPILER=${{ matrix.cxx }} \
110+
-DARCANA_TESTS=OFF
137111
138112
- name: Build
139113
run: |
140114
cmake --build Build --config ${{ matrix.config }}
141115
142-
- name: Test
143-
working-directory: Build
144-
run: |
145-
ctest -C ${{ matrix.config }} --output-on-failure --verbose
116+
# - name: Test
117+
# working-directory: Build
118+
# run: |
119+
# ctest -C ${{ matrix.config }} --output-on-failure --verbose

0 commit comments

Comments
 (0)