Skip to content

Commit

Permalink
feature: split nightly builds on separate workflows + remove go_test …
Browse files Browse the repository at this point in the history
…for *san builds (#744)
  • Loading branch information
librarian authored Mar 14, 2024
1 parent 4b49aa6 commit dd423c0
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 10 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/nightly-asan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Nightly build (asan)
on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch:

jobs:
build:
name: Build/test x86_64 using YA (asan)
uses: ./.github/workflows/build_and_test_on_demand.yaml
secrets: inherit
with:
build_preset: release-asan
test_type: "unittest,clang_tidy,gtest,py3test,py2test,pytest,flake8,black,py2_flake8,gofmt"
cache_update_build: true
cache_update_tests: false
test_threads: 6
17 changes: 17 additions & 0 deletions .github/workflows/nightly-tsan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Nightly build (tsan)
on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch:

jobs:
build:
name: Build/test x86_64 using YA (tsan)
uses: ./.github/workflows/build_and_test_on_demand.yaml
secrets: inherit
with:
build_preset: release-tsan
test_type: "unittest,clang_tidy,gtest,py3test,py2test,pytest,flake8,black,py2_flake8,gofmt"
cache_update_build: true
cache_update_tests: false
test_threads: 6
12 changes: 2 additions & 10 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,11 @@ on:

jobs:
build:
strategy:
max-parallel: ${{ fromJson(github.event_name == 'workflow_dispatch' && 3 || 8) }}
fail-fast: false
matrix:
build:
- relwithdebinfo
- release-asan
- release-tsan
name: Build/test x86_64 using YA (${{ matrix.build }})
name: Build/test x86_64 using YA (relwithdebinfo)
uses: ./.github/workflows/build_and_test_on_demand.yaml
secrets: inherit
with:
build_preset: ${{ matrix.build }}
build_preset: relwithdebinfo
cache_update_build: true
cache_update_tests: false
test_threads: 6

0 comments on commit dd423c0

Please sign in to comment.