Skip to content

Commit

Permalink
[debug ci] du, TESTING=OFF
Browse files Browse the repository at this point in the history
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
  • Loading branch information
turuslan committed Nov 22, 2022
1 parent a6780dd commit 586c6f0
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ env:
jobs:
MacOS:
if: ${{ false }}
runs-on: macos-11
steps:
- uses: actions/checkout@v2
Expand All @@ -44,17 +45,17 @@ jobs:
matrix:
options:
- name: "Linux: gcc-10 ASAN No Toolchain"
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/gcc-10_cxx17.cmake -DASAN=ON
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/gcc-10_cxx17.cmake -DASAN=ON -DTESTING=OFF
- name: "Linux: gcc-12 ASAN No Toolchain"
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/gcc-12_cxx17.cmake -DASAN=ON
- name: "Linux: clang-11 TSAN"
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/clang-11_cxx17.cmake -DTSAN=ON
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/gcc-12_cxx17.cmake -DASAN=ON -DTESTING=OFF
# - name: "Linux: clang-11 TSAN"
# run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/clang-11_cxx17.cmake -DTSAN=ON
- name: "Linux: clang-11 UBSAN"
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/clang-11_cxx17.cmake -DUBSAN=ON
- name: "Linux: clang-11 External Project"
run: ./housekeeping/make_external_build.sh -DCMAKE_TOOLCHAIN_FILE=../../cmake/toolchain/clang-11_cxx17.cmake
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/clang-11_cxx17.cmake -DUBSAN=ON -DTESTING=OFF
# - name: "Linux: clang-11 External Project"
# run: ./housekeeping/make_external_build.sh -DCMAKE_TOOLCHAIN_FILE=../../cmake/toolchain/clang-11_cxx17.cmake
- name: "Linux: clang-15 UBSAN"
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/clang-15_cxx17.cmake -DUBSAN=ON
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/clang-15_cxx17.cmake -DUBSAN=ON -DTESTING=OFF

name: "${{ matrix.options.name }}"
runs-on: ubuntu-latest
Expand All @@ -65,12 +66,15 @@ jobs:
with:
path: ${{ env.CACHE_PATHS }}
key: ${{ github.job }}-${{ matrix.options.name }}-${{ env.CACHE_VERSION }}
- name: du
run: du -h --max-depth=5 /
- name: Install mold
run: ./housekeeping/ci_install_mold.sh --make-default
- name: "${{ matrix.options.name }}"
run: "${{ matrix.options.run }}"

clang-tidy:
if: ${{ false }}
name: "Linux: clang-tidy"
runs-on: ubuntu-latest
container: soramitsu/kagome-dev:4-minideb
Expand Down Expand Up @@ -100,12 +104,14 @@ jobs:
with:
path: ${{ env.CACHE_PATHS }}
key: ${{ github.job }}-${{ env.CACHE_VERSION }}
- name: du
run: du -h --max-depth=5 /
- name: Install mold
run: ./housekeeping/ci_install_mold.sh --make-default
- name: makeBuild
env:
BUILD_FINAL_TARGET: ctest_coverage
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/gcc-10_cxx17.cmake -DCOVERAGE=ON
run: ./housekeeping/make_build.sh -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/gcc-10_cxx17.cmake -DCOVERAGE=ON -DTESTING=OFF
- if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
name: Submit Coverage
env:
Expand All @@ -121,6 +127,7 @@ jobs:
run: if [ "$SONAR_TOKEN" != "null" -a "$GITHUB_USERNAME" != "null" -a "$GITHUB_TOKEN" != "null" ]; then ./housekeeping/sonar.sh; else echo "Some secret undefined. Step passed..."; fi

Minideb:
if: ${{ false }}
strategy:
fail-fast: false
matrix:
Expand All @@ -144,7 +151,7 @@ jobs:
run: ./housekeeping/docker/kagome-dev/make.sh

Push:
if: ${{ github.ref == 'refs/heads/master' || startsWith( github.ref, 'refs/tags/' ) }}
if: ${{ false }}
needs: [clang-tidy, Linux, MacOS, Minideb]
strategy:
fail-fast: false
Expand Down Expand Up @@ -179,7 +186,7 @@ jobs:
run: ./housekeeping/docker/kagome/build_and_push.sh

Trigger_CD:
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ false }}
needs: [Push]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 586c6f0

Please sign in to comment.