diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e47f5a6577..3e71355328 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,12 +23,12 @@ 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 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'