Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/asan_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build_asan_x86:
name: Asan Build X86
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted, X64 ]
container:
image: vsaglib/vsag:ci-x86-mkl
volumes:
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
test_asan_x86:
name: Test X86
needs: build_asan_x86
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted, X64 ]
concurrency:
group: test_asan_x86-${{ matrix.test_type }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
test_example_x86:
name: Test Example X86
needs: build_asan_x86
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted, X64 ]
container:
image: vsaglib/vsag:ci-x86-mkl
volumes:
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
$example
fi
done

test_example_aarch64:
name: Test Example Aarch64
needs: build_asan_aarch64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/asan_with_simd_option.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build_asan_simd:
name: Asan Build Simd
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted, X64 ]
container:
image: vsaglib/vsag:ci-x86-mkl
volumes:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
test_asan_simd:
name: Unit Test Simd
needs: build_asan_simd
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted ]
strategy:
matrix:
test_type: [ unittests, functests ]
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/daily_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Daily Build & Test
on:
workflow_dispatch:
schedule:
- cron: '0 14 * * *'
- cron: '0 14 * * *'

jobs:
daily_build_asan_x86:
name: Asan Build X86
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted, X64 ]
container:
image: vsaglib/vsag:ci-x86-openblas
volumes:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
daily_test_asan_x86:
name: Test X86
needs: daily_build_asan_x86
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted, X64 ]
concurrency:
group: daily_test_x86-${{ matrix.test_type }}
cancel-in-progress: true
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:

daily_build_simd:
name: Asan Build Simd
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted, X64 ]
container:
image: vsaglib/vsag:ci-x86-mkl
volumes:
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
daily_test_asan_simd:
name: Unit Test Simd
needs: daily_build_simd
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted ]
strategy:
matrix:
test_type: [ unittests, functests ]
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:

daily_build_tsan:
name: Daily Build with TSAN
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted, X64 ]
concurrency:
group: daily_build_tsan_x86
cancel-in-progress: true
Expand Down Expand Up @@ -336,7 +336,7 @@ jobs:
daily_test_tsan:
name: Daily Run TSAN Tests
needs: daily_build_tsan
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted, X64 ]
concurrency:
group: daily_test_tsan_x86
cancel-in-progress: true
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ on:
jobs:
clang-tidy-check:
name: Lint
runs-on: ubuntu-latest
# runs-on: self-hosted
runs-on: [ linux, self-hosted ]
container:
image: vsaglib/vsag:ci-x86-openblas
env:
Expand Down
26 changes: 12 additions & 14 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
name: Format Check
needs: changes
if: needs.changes.outputs.cpp == 'true' || needs.changes.outputs.python == 'true'
runs-on: ubuntu-22.04
runs-on: [linux, self-hosted]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -74,7 +74,7 @@ jobs:
name: ASan Build X86
needs: [changes, format]
if: needs.changes.outputs.cpp == 'true'
runs-on: ubuntu-22.04
runs-on: [linux, self-hosted, X64]
env:
VSAG_FETCHCONTENT_BASE_DIR: ${{ github.workspace }}/.ci-fetchcontent
VSAG_THIRDPARTY_DOWNLOAD_DIR: ${{ github.workspace }}/.ci-downloads
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
name: build-x86-${{ github.run_id }}
compression-level: 1
retention-days: 1
overwrite: 'true'
overwrite: "true"

build-asan-macos-arm64:
name: ASan Build macOS arm64
Expand Down Expand Up @@ -194,10 +194,8 @@ jobs:
name: Python Build X86
needs: [changes, format]
if: needs.changes.outputs.python == 'true' || needs.changes.outputs.cmake == 'true'
runs-on: ubuntu-22.04
runs-on: [linux, self-hosted, X64]
steps:
- name: Free Disk Space
run: rm -rf /opt/hostedtoolcache
- uses: actions/checkout@v4
- name: Prepare Env
run: sudo bash ./scripts/deps/install_deps_ubuntu.sh
Expand All @@ -222,13 +220,13 @@ jobs:
name: wheelhouse-x86-${{ github.run_id }}
compression-level: 1
retention-days: 1
overwrite: 'true'
overwrite: "true"

test-asan-x86-unittests:
name: Test X86 Unittests
needs: [changes, build-asan-x86]
if: needs.changes.outputs.cpp == 'true'
runs-on: ubuntu-22.04
runs-on: [linux, self-hosted, X64]
container:
image: vsaglib/vsag:ci-x86-openblas
volumes:
Expand Down Expand Up @@ -262,13 +260,13 @@ jobs:
name: log-x86-unittests-${{ github.run_id }}
compression-level: 1
retention-days: 3
overwrite: 'true'
overwrite: "true"

test-asan-x86-functests:
name: Test X86 Functests
needs: [changes, build-asan-x86]
if: needs.changes.outputs.cpp == 'true'
runs-on: ubuntu-22.04
runs-on: [linux, self-hosted, X64]
env:
LD_LIBRARY_PATH: ${{ github.workspace }}/build/src
container:
Expand Down Expand Up @@ -302,13 +300,13 @@ jobs:
name: log-x86-functests-${{ github.run_id }}
compression-level: 1
retention-days: 3
overwrite: 'true'
overwrite: "true"

test-example-x86:
name: Test Example X86
needs: [changes, build-asan-x86]
if: needs.changes.outputs.cpp == 'true'
runs-on: ubuntu-22.04
runs-on: [linux, self-hosted, X64]
container:
image: vsaglib/vsag:ci-x86-openblas
volumes:
Expand Down Expand Up @@ -342,7 +340,7 @@ jobs:
name: Check Compatibility
needs: [changes, build-asan-x86]
if: needs.changes.outputs.cpp == 'true'
runs-on: ubuntu-22.04
runs-on: [linux, self-hosted, X64]
env:
LD_LIBRARY_PATH: ${{ github.workspace }}/build/src
container:
Expand Down Expand Up @@ -393,7 +391,7 @@ jobs:
name: Test Python X86
needs: [changes, build-python-x86]
if: needs.changes.outputs.python == 'true' || needs.changes.outputs.cmake == 'true'
runs-on: ubuntu-22.04
runs-on: [linux, self-hosted, X64]
steps:
- name: Free Disk Space
run: rm -rf /opt/hostedtoolcache
Comment on lines +394 to 397
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tsan_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
changes:
name: Detect Changes
runs-on: ubuntu-latest
runs-on: [ linux, self-hosted ]
outputs:
non_markdown: ${{ steps.changes.outputs.non_markdown }}
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
name: Build with TSAN
needs: changes
if: github.event_name != 'pull_request' || needs.changes.outputs.non_markdown == 'true'
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted ]
env:
# TSan instruments VSAG, not third-party dependencies. The daily x86 ASan job
# remains the dedicated guard for building bundled OpenBLAS from source.
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
name: Run TSAN Tests
needs: [changes, build_tsan]
if: github.event_name != 'pull_request' || needs.changes.outputs.non_markdown == 'true'
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted, X64 ]
concurrency:
group: test_tsan_x86-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
Expand Down
Loading