mirror of https://github.com/llvm/torch-mlir
This reverts commit 07f5f042c7
.
pull/2009/head
parent
2213ce0855
commit
0497f0b08d
|
@ -14,16 +14,19 @@ jobs:
|
|||
if: github.repository == 'llvm/torch-mlir'
|
||||
|
||||
steps:
|
||||
|
||||
- name: Prepare workspace
|
||||
run: |
|
||||
# Clear the workspace directory so that we don't run into errors about
|
||||
# existing lock files.
|
||||
sudo rm -rf $GITHUB_WORKSPACE/*
|
||||
|
||||
- name: Get torch-mlir
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'true'
|
||||
token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
|
||||
|
||||
# We fetch the submodules sequentially to prevent multiple threads from
|
||||
# trampling the index.lock file.
|
||||
- name: Fetch submodules
|
||||
run: git submodule update --init --force --depth=1 --jobs 1
|
||||
|
||||
- name: Setup ccache
|
||||
uses: ./.github/actions/setup-build
|
||||
with:
|
||||
|
|
|
@ -20,13 +20,16 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Prepare workspace
|
||||
run: |
|
||||
# Clear the workspace directory so that we don't run into errors about
|
||||
# existing lock files.
|
||||
sudo rm -rf $GITHUB_WORKSPACE/*
|
||||
|
||||
- name: Checkout torch-mlir
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# We fetch the submodules sequentially to prevent multiple threads from
|
||||
# trampling the index.lock file.
|
||||
- name: Fetch submodules
|
||||
run: git submodule update --init --force --depth=1 --jobs 1
|
||||
with:
|
||||
submodules: 'true'
|
||||
|
||||
# Continually update cache even if there's a "hit" during
|
||||
# restore to avoid the cache going stale over time
|
||||
|
|
|
@ -51,13 +51,18 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
||||
- name: Prepare workspace
|
||||
if: ${{ matrix.os-arch == 'ubuntu-x86_64' }}
|
||||
run: |
|
||||
# Clear the workspace directory so that we don't run into errors about
|
||||
# existing lock files.
|
||||
sudo rm -rf $GITHUB_WORKSPACE/*
|
||||
|
||||
- name: Checkout torch-mlir
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# We fetch the submodules sequentially to prevent multiple threads from
|
||||
# trampling the index.lock file.
|
||||
- name: Fetch submodules
|
||||
run: git submodule update --init --force --depth=1 --jobs 1
|
||||
with:
|
||||
submodules: 'true'
|
||||
|
||||
- name: Fetch PyTorch commit hash
|
||||
if: ${{ matrix.os-arch != 'windows-x86_64' }}
|
||||
|
|
|
@ -25,12 +25,17 @@ jobs:
|
|||
py_version: cp310-cp310
|
||||
|
||||
steps:
|
||||
|
||||
- name: Prepare workspace
|
||||
run: |
|
||||
# Clear the workspace directory so that we don't run into errors about
|
||||
# existing lock files.
|
||||
sudo rm -rf $GITHUB_WORKSPACE/*
|
||||
|
||||
- name: Get torch-mlir
|
||||
uses: actions/checkout@v3
|
||||
# We fetch the submodules sequentially to prevent multiple threads from
|
||||
# trampling the index.lock file.
|
||||
- name: Fetch submodules
|
||||
run: git submodule update --init --force --depth=1 --jobs 1
|
||||
with:
|
||||
submodules: 'true'
|
||||
- uses: ./.github/actions/setup-build
|
||||
with:
|
||||
cache-suffix: 'release'
|
||||
|
@ -88,10 +93,8 @@ jobs:
|
|||
steps:
|
||||
- name: Get torch-mlir
|
||||
uses: actions/checkout@v3
|
||||
# We fetch the submodules sequentially to prevent multiple threads from
|
||||
# trampling the index.lock file.
|
||||
- name: Fetch submodules
|
||||
run: git submodule update --init --force --depth=1 --jobs 1
|
||||
with:
|
||||
submodules: 'true'
|
||||
- uses: ./.github/actions/setup-build
|
||||
with:
|
||||
cache-suffix: 'release'
|
||||
|
@ -150,10 +153,8 @@ jobs:
|
|||
steps:
|
||||
- name: Get torch-mlir
|
||||
uses: actions/checkout@v3
|
||||
# We fetch the submodules sequentially to prevent multiple threads from
|
||||
# trampling the index.lock file.
|
||||
- name: Fetch submodules
|
||||
run: git submodule update --init --force --depth=1 --jobs 1
|
||||
with:
|
||||
submodules: 'true'
|
||||
- uses: ./.github/actions/setup-build
|
||||
with:
|
||||
cache-suffix: 'release'
|
||||
|
|
|
@ -13,6 +13,11 @@ jobs:
|
|||
if: github.repository == 'llvm/torch-mlir'
|
||||
|
||||
steps:
|
||||
- name: Prepare workspace
|
||||
run: |
|
||||
# Clear the workspace directory so that we don't run into errors about
|
||||
# existing lock files.
|
||||
sudo rm -rf $GITHUB_WORKSPACE/*
|
||||
- name: Checking out repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
|
@ -10,6 +10,12 @@ jobs:
|
|||
# Don't run this in everyone's forks.
|
||||
if: github.repository == 'llvm/torch-mlir'
|
||||
steps:
|
||||
- name: Prepare workspace
|
||||
run: |
|
||||
# Clear the workspace directory so that we don't run into errors about
|
||||
# existing lock files.
|
||||
sudo rm -rf $GITHUB_WORKSPACE/*
|
||||
|
||||
- name: Checking out repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
|
@ -14,6 +14,12 @@ jobs:
|
|||
if: github.repository == 'llvm/torch-mlir'
|
||||
steps:
|
||||
|
||||
- name: Prepare workspace
|
||||
run: |
|
||||
# Clear the workspace directory so that we don't run into errors about
|
||||
# existing lock files.
|
||||
sudo rm -rf $GITHUB_WORKSPACE/*
|
||||
|
||||
- name: Checking out repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue