diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 40655af2ef..0852d20510 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,6 +36,8 @@ jobs: cxx-macos: name: C++ unit tests on macOS runs-on: macos-latest + env: + CPATH: /opt/homebrew/opt/openssl@3/include steps: - uses: actions/checkout@v4 with: @@ -46,8 +48,6 @@ jobs: bundler-cache: true - run: bundle exec rake src/cxx_supportlib/Constants.h - run: c++ -o foo.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 -v - env: - C_INCLUDE_PATH: /opt/homebrew/opt/openssl@3/include # - run: bundle exec rake -j2 test:cxx # env: # SUDO: '1'