update input visualizers #77
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: Test | |
| on: [push, pull_request] | |
| jobs: | |
| linux: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, ubuntu-22.04] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: g++ -std=c++20 -Wall -Wextra -Wpedantic -Werror -Wno-maybe-uninitialized -O2 -fsanitize=address,undefined,pointer-compare,pointer-subtract test/validate.cpp -o validate | |
| - run: ./validate | |
| - run: g++ -std=c++17 -Wall -Wextra -Wpedantic -Werror -Wno-maybe-uninitialized -O2 -fsanitize=address,undefined,pointer-compare,pointer-subtract test/validate.cpp -o validate | |
| - run: ./validate | |
| mac: | |
| strategy: | |
| matrix: | |
| os: [macos-13, macos-14] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: g++ -std=c++20 -Wall -Wextra -Wpedantic -Werror -O2 -fsanitize=address,undefined,pointer-compare,pointer-subtract test/validate.cpp -o validate | |
| - run: ./validate | |
| - run: g++ -std=c++17 -Wall -Wextra -Wpedantic -Werror -O2 -fsanitize=address,undefined,pointer-compare,pointer-subtract test/validate.cpp -o validate | |
| - run: ./validate | |
| linux-i386: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: | | |
| sudo dpkg --add-architecture i386 | |
| sudo apt-get update | |
| sudo apt-get install g++-i686-linux-gnu libasan6:i386 libubsan1:i386 | |
| - run: export UBSAN_OPTIONS=halt_on_error=1:print_stacktrace=1 | |
| - run: i686-linux-gnu-g++ -std=c++17 -Wall -Wextra -Wpedantic -Werror -O2 -fsanitize=address,undefined,pointer-compare,pointer-subtract test/validate.cpp -o validate | |
| - run: ./validate | |
| - run: i686-linux-gnu-g++ -std=c++20 -Wall -Wextra -Wpedantic -Werror -O2 -fsanitize=address,undefined,pointer-compare,pointer-subtract test/validate.cpp -o validate | |
| - run: ./validate | |
| windows-mingw: | |
| runs-on: windows-latest | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| update: true | |
| install: mingw-w64-x86_64-gcc | |
| - run: g++ -std=c++20 -Wall -Wextra -Wpedantic -Werror -O2 test/validate.cpp -o validate | |
| - run: ./validate | |
| - run: g++ -std=c++17 -Wall -Wextra -Wpedantic -Werror -O2 test/validate.cpp -o validate | |
| - run: ./validate | |
| windows-msvc: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| update: true | |
| msystem: ucrt64 | |
| install: mingw-w64-ucrt-x86_64-gcc | |
| - uses: ilammy/msvc-dev-cmd@v1 | |
| - run: cl test/validate.cpp /Fe:validate /EHsc /std:c++20 /W2 /WX /O2 /nologo /permissive- /Zc:__cplusplus | |
| - run: ./validate | |
| - run: cl test/validate.cpp /Fe:validate /EHsc /std:c++17 /W2 /WX /O2 /nologo /permissive- /Zc:__cplusplus | |
| - run: ./validate |