Skip to content

Commit

Permalink
Remove python deps cache from asan-libshortfin workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Jan 7, 2025
1 parent 0abe650 commit 38e26e9
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/ci_linux_x64_asan-libshortfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ env:
PYENV_REF: 96b3fb2fc3bee85650cb22e2cb06c83c24509a6d # v2.4.17
PYTHON_VER: 3.12.7
CACHE_ASAN_VER: 2
CACHE_DEPS_VER: 1
LIBSHORTFIN_DIR: ${{ github.workspace }}/shortfin/

jobs:
Expand Down Expand Up @@ -99,13 +98,6 @@ jobs:
sudo apt update
sudo apt install clang lld cmake ninja-build
- name: Restore Python dependencies cache
id: cache-python-deps-restore
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ env.PYENV_ROOT }}
key: ${{ runner.os }}-python-deps-${{ hashFiles('shortfin/requirements-tests.txt') }}-v${{ env.CACHE_DEPS_VER }}

- name: Restore Python ASan cache
id: cache-python-asan
if: steps.cache-python-deps-restore.outputs.cache-hit != 'true'
Expand All @@ -119,22 +111,13 @@ jobs:
echo "${{ env.PYENV_ROOT }}/bin" >> $GITHUB_PATH

- name: Install Python dependencies
if: steps.cache-python-deps-restore.outputs.cache-hit != 'true'
working-directory: ${{ env.LIBSHORTFIN_DIR }}
run: |
eval "$(pyenv init -)"
pip install -r requirements-tests.txt
pip install -r ../requirements-iree-pinned.txt
pip freeze
- name: Save Python dependencies cache
if: steps.cache-python-deps-restore.outputs.cache-hit != 'true'
id: cache-python-deps-save
uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ env.PYENV_ROOT }}
key: ${{ steps.cache-python-deps-restore.outputs.cache-primary-key }}

- name: Build shortfin
working-directory: ${{ env.LIBSHORTFIN_DIR }}
run: |
Expand Down

0 comments on commit 38e26e9

Please sign in to comment.