diff --git a/.github/workflows/run_analyze-bloat.yml b/.github/workflows/run_analyze-bloat.yml deleted file mode 100644 index 7d12a4d62..000000000 --- a/.github/workflows/run_analyze-bloat.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: analyze-bloat - -on: [push, pull_request] - -env: - CMAKE_SHARED_LIBS: '0' - CMAKE_OPTIONS: > - -DBOOST_JSON_BUILD_TESTS=OFF - -DBOOST_JSON_BUILD_FUZZERS=OFF - -DBOOST_JSON_BUILD_BENCHMARKS=OFF - -DCMAKE_BUILD_TYPE=Release - -DVISIBILITY_INLINES_HIDDEN=TRUE - -DCMAKE_CXX_VISIBILITY_PRESET=hidden - -jobs: - analyze-bloat: - runs-on: ubuntu-latest - steps: - - name: Fetch head - uses: actions/checkout@v3 - with: - path: 'head_ref/root' - - name: Compile static lib for head ref - uses: ./head_ref/root/.github/actions/build - with: - buildtype: 'cmake-superproject' - toolset: gcc - path: 'head_ref/root' - - name: Bloat analysis - absolute values - uses: djarek/bloaty-analyze@v1.0.0 - with: - file: head_ref/boost-root/__build_static/stage/lib/libboost_json.a - rows: 0 # 0 indicates unlimited number of rows - - name: Fetch base - if: ${{ github.event_name == 'pull_request' }} - uses: actions/checkout@v3 - with: - ref: ${{ github.base_ref }} - path: 'base_ref/root' - - name: Compile static lib for base ref - if: ${{ github.event_name == 'pull_request' }} - uses: ./head_ref/root/.github/actions/build - with: - buildtype: 'cmake-superproject' - toolset: gcc - path: 'base_ref/root' - - name: Bloat analysis - diff - uses: djarek/bloaty-analyze@v1.0.0 - if: ${{ github.event_name == 'pull_request' }} - with: - file: head_ref/boost-root/__build_static/stage/lib/libboost_json.a - base-file: base_ref/boost-root/__build_static/stage/lib/libboost_json.a - rows: 0 # 0 indicates unlimited number of rows diff --git a/.github/workflows/run_fuzzer.yml b/.github/workflows/run_fuzzer.yml deleted file mode 100644 index 3430e026e..000000000 --- a/.github/workflows/run_fuzzer.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: fuzz - -on: - push: - pull_request: - schedule: - - cron: "25 */12 * * *" - workflow_dispatch: - -jobs: - fuzz: - - runs-on: ubuntu-latest - - steps: - - name: Fetch head - uses: actions/checkout@v3 - with: - path: 'head' - - uses: actions/cache@v3 - id: cache-corpus - with: - path: head/fuzzing/corpus.tar - key: corpus-${{ github.run_id }} - restore-keys: corpus- - - uses: ./head/.github/actions/build - with: - buildtype: 'boost' - path: 'head' - toolset: clang - targets: libs/json/fuzzing//run - - name: Pack the corpus - working-directory: boost-root/libs/json/fuzzing/ - run: | - tar cf - cmin > corpus.tar.tmp && mv corpus.tar.tmp "${GITHUB_WORKSPACE}"/head/fuzzing - - name: Save the corpus as a github artifact - uses: actions/upload-artifact@v3 - if: success() - with: - name: corpus - path: head/fuzzing/corpus.tar - - name: Archive any crashes as an artifact - uses: actions/upload-artifact@v3 - if: always() - with: - name: crashes - path: | - boost-root/crash-* - boost-root/leak-* - boost-root/timeout-* - if-no-files-found: ignore