Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Sep 18, 2024
1 parent 521843f commit 7a7c2bd
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
cxx:
name: "C++ unit tests on ${{ matrix.os }}, as ${{ matrix.user }}"
name: "C++ unit tests/${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
Expand All @@ -23,20 +23,19 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
bundler-cache: true
- run: bundle exec rake test:install_deps BASE_DEPS=yes
env:
SUDO: '1'
- run: bundle exec rake -j2 test:cxx
env:
SUDO: '1'
- uses: actions/upload-artifact@v4
with:
name: cxx-${{ matrix.os }}
path: 'buildout/testlogs/*'
- run: bundle exec rake src/cxx_supportlib/Constants.h
- run: c++ -o buildout/test/cxx/Core/SecurityUpdateCheckerTest.o -Itest/cxx -Itest/support -Isrc/agent -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -include test/cxx/TestSupport.h -Isrc/cxx_supportlib/vendor-modified/libev -DUSE_VENDORED_LIBEV -Isrc/cxx_supportlib/vendor-copy/libuv/include -DTESTING_APPLICATION_POOL -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -Wno-unknown-pragmas -feliminate-unused-debug-symbols -feliminate-unused-debug-types -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -DHAS_ALLOCA_H -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -ggdb -std=gnu++11 -Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c test/cxx/Core/SecurityUpdateCheckerTest.cpp
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
# bundler-cache: true
# - run: bundle exec rake -j2 test:cxx
# env:
# SUDO: '1'
# - uses: actions/upload-artifact@v4
# with:
# name: cxx-${{ matrix.os }}
# path: 'buildout/testlogs/*'

# integration:
# name: '${{ matrix.integration.name }} integration tests on ${{ matrix.os }}'
Expand Down

0 comments on commit 7a7c2bd

Please sign in to comment.