Skip to content

Commit

Permalink
Update buildAndTest.yml (llvm#1881)
Browse files Browse the repository at this point in the history
* Update buildAndTest.yml

* Update oneshotSnapshotPackage.yml

* Update buildRelease.yml

* Update RollPyTorch.yml

* Update oneshotSnapshotPackage.yml

* Update buildAndTest.yml
  • Loading branch information
powderluv authored Feb 15, 2023
1 parent b17d4d4 commit 5710871
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/RollPyTorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ on:
jobs:
build_linux:
name: Manylinux Build
runs-on: ubuntu-latest
runs-on: a100

# Don't run this in everyone's forks.
if: github.repository == 'llvm/torch-mlir'

steps:

- name: chown $GITHUB_WORKSPACE
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- name: Get torch-mlir
uses: actions/checkout@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ jobs:
runs-on: ${{ matrix.os }}

steps:

- name: chown $GITHUB_WORKSPACE
if: ${{ matrix.os-arch == 'ubuntu-x86_64' }}
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- name: Checkout torch-mlir
uses: actions/checkout@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/buildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
name: Manylinux Build
runs-on: a100
steps:

- name: chown $GITHUB_WORKSPACE
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- name: Get torch-mlir
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 5710871

Please sign in to comment.