docs: minor typo fix in reverse-string approach (#904) #1113
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| linux-min: | |
| name: Linux Min Config | |
| runs-on: ubuntu-20.04 | |
| strategy: | |
| matrix: | |
| compiler: [clang++-6.0, g++-10] | |
| steps: | |
| - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
| - name: Install Dependencies | |
| # Boost must be installed only because the CMake version (3.12) can't | |
| # detect the installed Boost version (1.69) | |
| run: sudo apt-get update && sudo apt-get -y install ninja-build libboost-date-time-dev clang-6.0 g++-10 g++-multilib | |
| - name: Run tests with common Catch | |
| run: | | |
| cmake -G Ninja . | |
| cmake --build . -- test_hello-world | |
| cmake --build . | |
| env: | |
| CXX: ${{ matrix.compiler }} | |
| linux-latest: | |
| name: Linux Latest Config | |
| needs: [linux-min] | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| compiler: [clang++, g++] | |
| steps: | |
| - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
| - name: Install Dependencies | |
| # Boost must be installed only because the CMake version (3.12) can't | |
| # detect the installed Boost version (1.69) | |
| run: sudo apt-get update && sudo apt-get -y install ninja-build libboost-date-time-dev | |
| - name: Run tests with common Catch | |
| if: matrix.compiler == 'g++' | |
| run: | | |
| cmake -G Ninja . | |
| cmake --build . -- test_hello-world | |
| cmake --build . | |
| env: | |
| CXX: ${{ matrix.compiler }} | |
| - name: Run tests without common Catch | |
| if: matrix.compiler == 'clang++' | |
| run: | | |
| cmake -G Ninja -DEXERCISM_COMMON_CATCH=OFF . | |
| cmake --build . -- test_hello-world | |
| cmake --build . | |
| env: | |
| CXX: ${{ matrix.compiler }} | |
| windows: | |
| name: Windows | |
| needs: [linux-min] | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
| - name: Run Tests | |
| shell: powershell | |
| # Delete the exercises that require Boost to avoid issues with Windows setup. | |
| run: | | |
| rm exercises/practice/gigasecond -r | |
| rm exercises/practice/meetup -r | |
| cmake . | |
| cmake --build . -- test_hello-world | |
| cmake --build . | |
| mac: | |
| name: MacOS | |
| needs: [linux-min] | |
| runs-on: macOS-latest | |
| steps: | |
| - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
| - name: Install Boost | |
| run: brew install boost | |
| - name: Run Tests | |
| run: | | |
| cmake . | |
| cmake --build . -- test_hello-world | |
| cmake --build . | |