From f5ac47bea179b7c994bb73540f191f430e22ceb7 Mon Sep 17 00:00:00 2001 From: firewave Date: Tue, 29 Aug 2023 12:56:27 +0200 Subject: [PATCH] remove --- .github/workflows/CI-unixish.yml | 75 -------------------------------- .github/workflows/CI-windows.yml | 53 ---------------------- 2 files changed, 128 deletions(-) delete mode 100644 .github/workflows/CI-unixish.yml delete mode 100644 .github/workflows/CI-windows.yml diff --git a/.github/workflows/CI-unixish.yml b/.github/workflows/CI-unixish.yml deleted file mode 100644 index 3a604900..00000000 --- a/.github/workflows/CI-unixish.yml +++ /dev/null @@ -1,75 +0,0 @@ -name: CI-unixish - -on: [push, pull_request] - -jobs: - build: - - strategy: - matrix: - compiler: [clang++, g++] - os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12] - fail-fast: false - - runs-on: ${{ matrix.os }} - - steps: - - uses: actions/checkout@v3 - - - name: Install missing software on ubuntu - if: matrix.os == 'ubuntu-22.04' - run: | - sudo apt-get update - sudo apt-get install valgrind - - - name: make simplecpp - run: make -j$(nproc) CXX=${{ matrix.compiler }} - - - name: make test - run: make -j$(nproc) test CXX=${{ matrix.compiler }} - - - name: selfcheck - run: | - make -j$(nproc) selfcheck CXX=${{ matrix.compiler }} - - - name: Run valgrind - if: matrix.os == 'ubuntu-22.04' - run: | - make clean - # this valgrind version doesn't support DWARF 5 yet - make -j$(nproc) CXX=${{ matrix.compiler }} CXXFLAGS="-gdwarf-4" - valgrind --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --gen-suppressions=all --error-exitcode=42 ./testrunner - valgrind --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --gen-suppressions=all --error-exitcode=42 ./simplecpp simplecpp.cpp -e - - - name: Run with libstdc++ debug mode - if: matrix.os == 'ubuntu-22.04' && matrix.compiler == 'g++' - run: | - make clean - make -j$(nproc) test selfcheck CXX=${{ matrix.compiler }} CXXFLAGS="-g3 -D_GLIBCXX_DEBUG" - - - name: Run with libc++ debug mode - if: matrix.os == 'ubuntu-22.04' && matrix.compiler == 'clang++' - run: | - make clean - make -j$(nproc) test selfcheck CXX=${{ matrix.compiler }} CXXFLAGS="-stdlib=libc++ -g3 -D_LIBCPP_ENABLE_ASSERTIONS=1" LDFLAGS="-lc++" - - - name: Run AddressSanitizer - if: matrix.os == 'ubuntu-22.04' - run: | - make clean - make -j$(nproc) test selfcheck CXX=${{ matrix.compiler }} CXXFLAGS="-O2 -g3 -fsanitize=address" LDFLAGS="-fsanitize=address" - env: - ASAN_OPTIONS: detect_stack_use_after_return=1 - - - name: Run UndefinedBehaviorSanitizer - if: matrix.os == 'ubuntu-22.04' - run: | - make clean - make -j$(nproc) test selfcheck CXX=${{ matrix.compiler }} CXXFLAGS="-O2 -g3 -fsanitize=undefined -fno-sanitize=signed-integer-overflow" LDFLAGS="-fsanitize=undefined -fno-sanitize=signed-integer-overflow" - - # TODO: requires instrumented libc++ - - name: Run MemorySanitizer - if: false && matrix.os == 'ubuntu-22.04' && matrix.compiler == 'clang++' - run: | - make clean - make -j$(nproc) test selfcheck CXX=${{ matrix.compiler }} CXXFLAGS="-O2 -g3 -stdlib=libc++ -fsanitize=memory" LDFLAGS="-lc++ -fsanitize=memory" diff --git a/.github/workflows/CI-windows.yml b/.github/workflows/CI-windows.yml deleted file mode 100644 index 1c4e3404..00000000 --- a/.github/workflows/CI-windows.yml +++ /dev/null @@ -1,53 +0,0 @@ -# Some convenient links: -# - https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md -# - -name: CI-windows - -on: [push,pull_request] - -defaults: - run: - shell: cmd - -jobs: - - build: - strategy: - matrix: - os: [windows-2019, windows-2022] - config: [Release, Debug] - fail-fast: false - - runs-on: ${{ matrix.os }} - - steps: - - uses: actions/checkout@v3 - - - name: Setup msbuild.exe - uses: microsoft/setup-msbuild@v1.1 - - - name: Run cmake - if: matrix.os == 'windows-2019' - run: | - cmake -G "Visual Studio 16 2019" -A x64 . || exit /b !errorlevel! - dir - - - name: Run cmake - if: matrix.os == 'windows-2022' - run: | - cmake -G "Visual Studio 17 2022" -A x64 . || exit /b !errorlevel! - dir - - - name: Build - run: | - msbuild -m simplecpp.sln /p:Configuration=${{ matrix.config }} /p:Platform=x64 || exit /b !errorlevel! - - - name: Test - run: | - .\${{ matrix.config }}\testrunner.exe || exit /b !errorlevel! - - - name: Selfcheck - run: | - .\${{ matrix.config }}\simplecpp.exe simplecpp.cpp -e || exit /b !errorlevel! -