diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index a3b34a1..f824235 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -38,12 +38,12 @@ jobs: test: false cmake: "emcmake cmake" - #- name: "MacOS clang" - #os: macos-latest - #cc: clang - #cxx: clang++ - #test: true - #cmake: cmake + - name: "MacOS GCC" + os: macos-latest + cc: /usr/local/opt/gcc/bin/gcc-11 + cxx: /usr/local/opt/gcc/bin/g++-11 + test: true + cmake: cmake #- name: "Windows MSVC" #os: windows-latest @@ -74,9 +74,11 @@ jobs: with: boost_version: 1.73.0 - - name: "Install boost for macOS" + - name: "Install dependencies for macOS" if: runner.os == 'macOS' - run: brew install boost + run: | + brew install gcc + brew install boost - name: "Setup Emscripten" if: ${{ matrix.cc == 'emcc' }} diff --git a/src/input_output_test.cpp b/src/input_output_test.cpp index 53a6736..4b3510b 100644 --- a/src/input_output_test.cpp +++ b/src/input_output_test.cpp @@ -35,7 +35,7 @@ void ParseDirectoryName(std::string name, parts.push_back(name.substr(left, right - left)); *translator_name = parts[0]; - for(int i = 1; iTranslate(input, options); if (output_computed == output) { - std::cout << " [PASS] " << test << std::endl; + std::cout << " [PASS] " << test.path() << std::endl; } else { - std::cout << " [FAIL] " << test << std::endl; + std::cout << " [FAIL] " << test.path() << std::endl; std::cout << "---[Output]------------------" << std::endl; std::cout << output_computed << std::endl; std::cout << "---[Expected]----------------" << std::endl; std::cout << output << std::endl; std::cout << "---------------------" << std::endl; result = EXIT_FAILURE; - - //std::ofstream(test.path() / "output") << output_computed; } } }