Skip to content
Merged
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
14 changes: 0 additions & 14 deletions .github/workflows/build-containerized-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,6 @@ jobs:
~/bin/bazel
~/.local/bin/bazel
key: bazel-binary-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-binary-${{ runner.os }}-${{ runner.arch }}-
- name: Cache Bazel repository cache
uses: actions/cache@v4
with:
path: ~/.cache/bazel/_bazel_*/*/external
key: bazel-repo-${{ runner.os }}-${{ runner.arch }}-py38-${{ hashFiles('WORKSPACE', '.bazelrc', 'bazel/**') }}
restore-keys: |
bazel-repo-${{ runner.os }}-${{ runner.arch }}-py38-
- name: Cache Bazel build outputs
uses: actions/cache@v4
with:
path: ~/.cache/bazel
key: bazel-build-release-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('cpp/**', 'python/**/*.pyx', 'python/**/*.pxd', 'BUILD', 'WORKSPACE') }}
- name: Install bazel
run: ./ci/run_ci.sh install_bazel
- name: Build and test wheels
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/build-native-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,6 @@ jobs:
~/.local/bin/bazel
C:\bazel\bazel.exe
key: bazel-binary-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-binary-${{ runner.os }}-${{ runner.arch }}-
- name: Cache Bazel repository cache
uses: actions/cache@v4
with:
path: |
~/.cache/bazel/_bazel_*/*/external
~/Library/Caches/bazel/_bazel_*/*/external
C:\users\runneradmin\_bazel_runneradmin\*/external
key: bazel-repo-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-${{ hashFiles('WORKSPACE', '.bazelrc', 'bazel/**') }}
restore-keys: |
bazel-repo-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-
- name: Cache Bazel build outputs
uses: actions/cache@v4
with:
path: |
~/.cache/bazel
~/Library/Caches/bazel
C:\users\runneradmin\_bazel_runneradmin
key: bazel-build-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-${{ hashFiles('cpp/**', 'python/**/*.pyx', 'python/**/*.pxd', 'BUILD', 'WORKSPACE') }}
- name: Install bazel
if: runner.os != 'Windows'
run: ./ci/run_ci.sh install_bazel
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/build-native-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,26 +45,6 @@ jobs:
~/.local/bin/bazel
C:\bazel\bazel.exe
key: bazel-binary-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-binary-${{ runner.os }}-${{ runner.arch }}-
- name: Cache Bazel repository cache
uses: actions/cache@v4
with:
path: |
~/.cache/bazel/_bazel_*/*/external
~/Library/Caches/bazel/_bazel_*/*/external
C:\users\runneradmin\_bazel_runneradmin\*/external
key: bazel-repo-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-${{ hashFiles('WORKSPACE', '.bazelrc', 'bazel/**') }}
restore-keys: |
bazel-repo-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-
- name: Cache Bazel build outputs
uses: actions/cache@v4
with:
path: |
~/.cache/bazel
~/Library/Caches/bazel
C:\users\runneradmin\_bazel_runneradmin
key: bazel-build-release-native-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-${{ hashFiles('cpp/**', 'python/**/*.pyx', 'python/**/*.pxd', 'BUILD', 'WORKSPACE') }}
- name: Install bazel
if: runner.os != 'Windows'
run: ./ci/run_ci.sh install_bazel
Expand Down
86 changes: 25 additions & 61 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,10 @@ jobs:
path: |
~/bin/bazel
~/.local/bin/bazel
key: bazel-binary-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-binary-${{ runner.os }}-${{ runner.arch }}-
- name: Cache Bazel repository cache
uses: actions/cache@v4
with:
path: ~/.cache/bazel/_bazel_*/*/external
key: bazel-repo-${{ runner.os }}-${{ runner.arch }}-py38-${{ hashFiles('WORKSPACE', '.bazelrc', 'bazel/**') }}
key: bazel-binary-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-repo-${{ runner.os }}-${{ runner.arch }}-py38-
- name: Cache Bazel build outputs
uses: actions/cache@v4
with:
path: ~/.cache/bazel
key: bazel-build-java-${{ runner.os }}-${{ runner.arch }}-${{ matrix.java-version }}-${{ hashFiles('cpp/**', 'python/**/*.pyx', 'python/**/*.pxd', 'BUILD', 'WORKSPACE') }}
bazel-binary-v2-${{ runner.os }}-${{ runner.arch }}-
enableCrossOsArchive: false
- name: Install bazel
run: python ./ci/run_ci.py cpp --install-deps-only
- name: Install python dependencies
Expand Down Expand Up @@ -136,21 +125,10 @@ jobs:
path: |
~/bin/bazel
~/.local/bin/bazel
key: bazel-binary-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-binary-${{ runner.os }}-${{ runner.arch }}-
- name: Cache Bazel repository cache
uses: actions/cache@v4
with:
path: ~/.cache/bazel/_bazel_*/*/external
key: bazel-repo-${{ runner.os }}-${{ runner.arch }}-py38-${{ hashFiles('WORKSPACE', '.bazelrc', 'bazel/**') }}
key: bazel-binary-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-repo-${{ runner.os }}-${{ runner.arch }}-py38-
- name: Cache Bazel build outputs
uses: actions/cache@v4
with:
path: ~/.cache/bazel
key: bazel-build-openj9-${{ runner.os }}-${{ runner.arch }}-${{ matrix.java-version }}-${{ hashFiles('cpp/**', 'python/**/*.pyx', 'python/**/*.pxd', 'BUILD', 'WORKSPACE') }}
bazel-binary-v2-${{ runner.os }}-${{ runner.arch }}-
enableCrossOsArchive: false
- name: Install bazel
run: python ./ci/run_ci.py cpp --install-deps-only
- name: Install pyfory for xlang tests
Expand Down Expand Up @@ -413,34 +391,25 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Cache Bazel binary
- name: Cache Bazel binary (Unix)
if: runner.os != 'Windows'
uses: actions/cache@v4
with:
path: |
~/bin/bazel
~/.local/bin/bazel
C:\bazel\bazel.exe
key: bazel-binary-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
key: bazel-binary-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-binary-${{ runner.os }}-${{ runner.arch }}-
- name: Cache Bazel repository cache
bazel-binary-v2-${{ runner.os }}-${{ runner.arch }}-
enableCrossOsArchive: false
- name: Cache Bazel binary (Windows)
if: runner.os == 'Windows'
uses: actions/cache@v4
with:
path: |
~/.cache/bazel/_bazel_*/*/external
~/Library/Caches/bazel/_bazel_*/*/external
C:\users\runneradmin\_bazel_runneradmin\*/external
key: bazel-repo-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-${{ hashFiles('WORKSPACE', '.bazelrc', 'bazel/**') }}
path: C:\bazel\bazel.exe
key: bazel-binary-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-repo-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-
- name: Cache Bazel build outputs
uses: actions/cache@v4
with:
path: |
~/.cache/bazel
~/Library/Caches/bazel
C:\users\runneradmin\_bazel_runneradmin
key: bazel-build-python-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-${{ hashFiles('cpp/**', 'python/**/*.pyx', 'python/**/*.pxd', 'BUILD', 'WORKSPACE') }}
bazel-binary-v2-${{ runner.os }}-${{ runner.arch }}-
- name: Install bazel (Unix)
if: runner.os != 'Windows'
shell: bash
Expand All @@ -449,6 +418,12 @@ jobs:
if: runner.os == 'Windows'
shell: bash
run: ./ci/run_ci.sh install_bazel_windows
- name: Clean Bazel cache (Windows)
if: runner.os == 'Windows'
shell: bash
run: |
echo "Cleaning Bazel cache to ensure fresh build..."
bazel clean --expunge || true
- name: Run Python CI
shell: bash
run: python ./ci/run_ci.py python
Expand Down Expand Up @@ -478,21 +453,10 @@ jobs:
path: |
~/bin/bazel
~/.local/bin/bazel
key: bazel-binary-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-binary-${{ runner.os }}-${{ runner.arch }}-
- name: Cache Bazel repository cache
uses: actions/cache@v4
with:
path: ~/.cache/bazel/_bazel_*/*/external
key: bazel-repo-${{ runner.os }}-${{ runner.arch }}-py38-${{ hashFiles('WORKSPACE', '.bazelrc', 'bazel/**') }}
key: bazel-binary-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.bazelversion') }}
restore-keys: |
bazel-repo-${{ runner.os }}-${{ runner.arch }}-py38-
- name: Cache Bazel build outputs
uses: actions/cache@v4
with:
path: ~/.cache/bazel
key: bazel-build-go-${{ runner.os }}-${{ runner.arch }}-${{ matrix.go-version }}-${{ hashFiles('cpp/**', 'python/**/*.pyx', 'python/**/*.pxd', 'BUILD', 'WORKSPACE') }}
bazel-binary-v2-${{ runner.os }}-${{ runner.arch }}-
enableCrossOsArchive: false
- name: Install bazel
run: python ./ci/run_ci.py cpp --install-deps-only
- name: Install python dependencies
Expand Down
Loading