Skip to content

Commit 01dee50

Browse files
committed
uncomment other jobs
1 parent be6617e commit 01dee50

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/test.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,36 @@ on:
1212
description: set to true to build without clang-tidy (2x faster)
1313

1414
jobs:
15-
# test_ubuntu:
16-
# if: github.repository_owner == 'viamrobotics'
17-
# runs-on: ubuntu-latest
18-
# container: ghcr.io/viamrobotics/cpp-base:bullseye-amd64
19-
# strategy:
20-
# fail-fast: false
21-
# matrix:
22-
# include:
23-
# - BUILD_SHARED: ON
24-
# - BUILD_SHARED: OFF
25-
# steps:
26-
# - uses: actions/checkout@v4
27-
# - name: cmake
28-
# run: |
29-
# mkdir build
30-
# cd build
31-
# cmake .. -G Ninja \
32-
# -DBUILD_SHARED_LIBS=${{ matrix.BUILD_SHARED }} \
33-
# -DVIAMCPPSDK_OFFLINE_PROTO_GENERATION=ON \
34-
# -DVIAMCPPSDK_BUILD_TESTS=ON \
35-
# -DVIAMCPPSDK_BUILD_EXAMPLES=ON \
36-
# -DVIAMCPPSDK_CLANG_TIDY=${{ inputs.no-tidy && 'OFF' || 'ON' }} \
37-
# -DVIAMCPPSDK_SANITIZED_BUILD=${{ matrix.BUILD_SHARED }}
38-
# - name: build
39-
# run: |
40-
# cmake --build build --target install
41-
# cmake --install build
42-
# - name: test
43-
# working-directory: build
44-
# run: ../etc/docker/tests/run_test.sh
15+
test_ubuntu:
16+
if: github.repository_owner == 'viamrobotics'
17+
runs-on: ubuntu-latest
18+
container: ghcr.io/viamrobotics/cpp-base:bullseye-amd64
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
include:
23+
- BUILD_SHARED: ON
24+
- BUILD_SHARED: OFF
25+
steps:
26+
- uses: actions/checkout@v4
27+
- name: cmake
28+
run: |
29+
mkdir build
30+
cd build
31+
cmake .. -G Ninja \
32+
-DBUILD_SHARED_LIBS=${{ matrix.BUILD_SHARED }} \
33+
-DVIAMCPPSDK_OFFLINE_PROTO_GENERATION=ON \
34+
-DVIAMCPPSDK_BUILD_TESTS=ON \
35+
-DVIAMCPPSDK_BUILD_EXAMPLES=ON \
36+
-DVIAMCPPSDK_CLANG_TIDY=${{ inputs.no-tidy && 'OFF' || 'ON' }} \
37+
-DVIAMCPPSDK_SANITIZED_BUILD=${{ matrix.BUILD_SHARED }}
38+
- name: build
39+
run: |
40+
cmake --build build --target install
41+
cmake --install build
42+
- name: test
43+
working-directory: build
44+
run: ../etc/docker/tests/run_test.sh
4545
test_windows:
4646
if: github.repository_owner == 'viamrobotics'
4747
runs-on: windows-latest

0 commit comments

Comments
 (0)