diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1976a8d2..fd279175 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,7 +88,7 @@ jobs: run: sudo apt install g++-9 g++-10 - name: Test run: ${{ matrix.compiler }} -std=${{ matrix.standard }} -I../../include *.cpp ../../src/*.cpp -o regress -licuuc -licudata -licu18n && ./regress - working-directory: $GITHUB_WORKSPACE/test/regress + working-directory: ./test/regress ubuntu-bionic: runs-on: ubuntu-18.04 strategy: diff --git a/test/regress/test_icu.cpp b/test/regress/test_icu.cpp index 5dbc1cb6..c0d7f569 100644 --- a/test/regress/test_icu.cpp +++ b/test/regress/test_icu.cpp @@ -21,11 +21,13 @@ // #include +#ifdef BOOST_REGEX_STANDALONE #ifdef __has_include -#if __has_include() +#if __has_include() && __has_include() && __has_include() #define BOOST_HAS_ICU #endif #endif +#endif #if defined(BOOST_HAS_ICU) && !defined(BOOST_NO_STD_WSTRING)