From 6f67ecc7e27d18fbd29b116c52ff4ea26d56fc6e Mon Sep 17 00:00:00 2001 From: Lev Brouk Date: Tue, 23 Apr 2024 07:55:47 -0700 Subject: [PATCH] restored all jobs --- .github/workflows/build-test.yml | 14 +---- .github/workflows/on-pr-debug.yml | 80 +++++++++++++-------------- .github/workflows/on-push-release.yml | 44 +++++++-------- 3 files changed, 65 insertions(+), 73 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 30025b1a8..b92fbfccc 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -171,14 +171,6 @@ jobs: if: inputs.coverage == 'ON' uses: codecov/codecov-action@v4 with: - fail_ci_if_error: true # optional (default = false) - token: ${{ secrets.CODECOV_TOKEN }} # required - verbose: true # optional (default = false) - - - # env: - # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - # run: | - # pip install codecov-cli - # /home/ubuntu/.local/bin/codecovcli --help - # # ./codecov -Q 'issue1011' -C ${{ github.sha }} -Z -g --ga '-lp' --gi 'examples/**' --gi 'src/win/**' --gi 'src/unix/**' --gi 'src/stan/protocol.pb-c.c' + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} + # verbose: true \ No newline at end of file diff --git a/.github/workflows/on-pr-debug.yml b/.github/workflows/on-pr-debug.yml index 97db022dd..ab0d17eef 100644 --- a/.github/workflows/on-pr-debug.yml +++ b/.github/workflows/on-pr-debug.yml @@ -10,18 +10,18 @@ defaults: shell: bash --noprofile --norc -x -eo pipefail {0} jobs: - # default: - # name: "DefaultD" - # strategy: - # fail-fast: false - # matrix: - # compiler: [gcc, clang] - # uses: ./.github/workflows/build-test.yml - # with: - # compiler: ${{ matrix.compiler }} - # server_version: main - # type: Debug - # repeat: 3 + default: + name: "DefaultD" + strategy: + fail-fast: false + matrix: + compiler: [gcc, clang] + uses: ./.github/workflows/build-test.yml + with: + compiler: ${{ matrix.compiler }} + server_version: main + type: Debug + repeat: 3 coverage: name: "Coverage" @@ -33,34 +33,34 @@ jobs: secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - # sanitize-addr: - # name: "Sanitize address" - # uses: ./.github/workflows/build-test.yml - # with: - # sanitize: address - # server_version: main - # type: Debug + sanitize-addr: + name: "Sanitize address" + uses: ./.github/workflows/build-test.yml + with: + sanitize: address + server_version: main + type: Debug - # sanitize-addr-lib-msg-delivery: - # name: "Sanitize address (lib_msg_delivery)" - # uses: ./.github/workflows/build-test.yml - # with: - # sanitize: address - # server_version: main - # lib_msg_delivery: ON + sanitize-addr-lib-msg-delivery: + name: "Sanitize address (lib_msg_delivery)" + uses: ./.github/workflows/build-test.yml + with: + sanitize: address + server_version: main + lib_msg_delivery: ON - # san-addr: - # name: "Sanitize address (lib_write_deadline)" - # uses: ./.github/workflows/build-test.yml - # with: - # sanitize: address - # server_version: main - # lib_write_deadline: ON + san-addr: + name: "Sanitize address (lib_write_deadline)" + uses: ./.github/workflows/build-test.yml + with: + sanitize: address + server_version: main + lib_write_deadline: ON - # san-thread: - # name: "Sanitize thread" - # uses: ./.github/workflows/build-test.yml - # with: - # sanitize: thread - # server_version: main - # repeat: 3 \ No newline at end of file + san-thread: + name: "Sanitize thread" + uses: ./.github/workflows/build-test.yml + with: + sanitize: thread + server_version: main + repeat: 3 \ No newline at end of file diff --git a/.github/workflows/on-push-release.yml b/.github/workflows/on-push-release.yml index 33ff4e736..a42560e0d 100644 --- a/.github/workflows/on-push-release.yml +++ b/.github/workflows/on-push-release.yml @@ -1,25 +1,25 @@ -# name: "Release" -# on: -# push: +name: "Release" +on: + push: -# permissions: -# contents: write # required by build-test to comment on coverage but not used here. +permissions: + contents: write # required by build-test to comment on coverage but not used here. -# defaults: -# run: -# shell: bash --noprofile --norc -x -eo pipefail {0} +defaults: + run: + shell: bash --noprofile --norc -x -eo pipefail {0} -# jobs: -# quick: -# name: "DefaultR" -# strategy: -# fail-fast: false -# matrix: -# compiler: [gcc, clang] -# ubuntu_version: [latest, 20.04] -# uses: ./.github/workflows/build-test.yml -# with: -# server_version: main -# ubuntu_version: ${{ matrix.ubuntu_version }} -# compiler: ${{ matrix.compiler }} -# repeat: 3 +jobs: + quick: + name: "DefaultR" + strategy: + fail-fast: false + matrix: + compiler: [gcc, clang] + ubuntu_version: [latest, 20.04] + uses: ./.github/workflows/build-test.yml + with: + server_version: main + ubuntu_version: ${{ matrix.ubuntu_version }} + compiler: ${{ matrix.compiler }} + repeat: 3