mirror of https://github.com/llvm/torch-mlir
Update buildAndTest.yml (#1881)
* Update buildAndTest.yml * Update oneshotSnapshotPackage.yml * Update buildRelease.yml * Update RollPyTorch.yml * Update oneshotSnapshotPackage.yml * Update buildAndTest.ymlpull/1885/head snapshot-20230216.751
parent
b17d4d4f08
commit
5710871f4f
|
@ -8,12 +8,17 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build_linux:
|
build_linux:
|
||||||
name: Manylinux Build
|
name: Manylinux Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: a100
|
||||||
|
|
||||||
# Don't run this in everyone's forks.
|
# Don't run this in everyone's forks.
|
||||||
if: github.repository == 'llvm/torch-mlir'
|
if: github.repository == 'llvm/torch-mlir'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: chown $GITHUB_WORKSPACE
|
||||||
|
run: |
|
||||||
|
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
||||||
|
|
||||||
- name: Get torch-mlir
|
- name: Get torch-mlir
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -51,6 +51,12 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: chown $GITHUB_WORKSPACE
|
||||||
|
if: ${{ matrix.os-arch == 'ubuntu-x86_64' }}
|
||||||
|
run: |
|
||||||
|
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
||||||
|
|
||||||
- name: Checkout torch-mlir
|
- name: Checkout torch-mlir
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -15,6 +15,11 @@ jobs:
|
||||||
name: Manylinux Build
|
name: Manylinux Build
|
||||||
runs-on: a100
|
runs-on: a100
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: chown $GITHUB_WORKSPACE
|
||||||
|
run: |
|
||||||
|
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
||||||
|
|
||||||
- name: Get torch-mlir
|
- name: Get torch-mlir
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue