Skip to content

Commit

Permalink
Run on schedule in iree-org only (#19685)
Browse files Browse the repository at this point in the history
Even though the jobs run on GH-hosted runners, the workflows take
between 1.5 and 4.5 hours. It should be sufficient to run them on
schedule in iree-org only and not in forked repositories.
  • Loading branch information
marbre authored Jan 13, 2025
1 parent d90c505 commit 9b35412
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci_linux_x64_clang_byollvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ concurrency:

jobs:
linux_x64_clang_byollvm:
if: ${{ github.repository_owner == 'iree-org' || github.event_name != 'schedule' }}
runs-on: ubuntu-24.04
container: ghcr.io/iree-org/cpubuilder_ubuntu_jammy@sha256:78a558b999b230f7e1da376639e14b44f095f30f1777d6a272ba48c0bbdd4ccb
defaults:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci_linux_x64_gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ concurrency:

jobs:
linux_x64_gcc:
if: ${{ github.repository_owner == 'iree-org' || github.event_name != 'schedule' }}
runs-on: ubuntu-24.04
container: ghcr.io/iree-org/cpubuilder_ubuntu_jammy@sha256:78a558b999b230f7e1da376639e14b44f095f30f1777d6a272ba48c0bbdd4ccb
defaults:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci_macos_arm64_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ concurrency:

jobs:
macos_arm64_clang:
if: ${{ github.repository_owner == 'iree-org' || github.event_name != 'schedule' }}
runs-on: macos-14
env:
BUILD_DIR: build-macos
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci_macos_x64_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ concurrency:

jobs:
macos_x64_clang:
if: ${{ github.repository_owner == 'iree-org' || github.event_name != 'schedule' }}
runs-on: macos-13
env:
BUILD_DIR: build-macos
Expand Down

0 comments on commit 9b35412

Please sign in to comment.