Skip to content

Commit

Permalink
only run m1 job
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbrauner-da committed Jun 25, 2024
1 parent c84e408 commit 1d6b829
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ci/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
name: out
- job: Linux
condition: false
dependsOn:
- check_for_release
variables:
Expand Down Expand Up @@ -108,6 +109,7 @@ jobs:
- template: blackduck.yml

- job: Windows
condition: false
dependsOn:
- check_for_release
variables:
Expand Down Expand Up @@ -168,6 +170,7 @@ jobs:
- template: report-end.yml

- job: Linux_oracle
condition: false
timeoutInMinutes: 240
pool:
name: 'ubuntu_20_04'
Expand Down Expand Up @@ -265,8 +268,7 @@ jobs:
- template: report-end.yml

- job: platform_independence_test
condition: and(succeeded(),
eq(dependencies.check_for_release.outputs['out.is_release'], 'false'))
condition: false
dependsOn:
- Windows
- Linux
Expand Down Expand Up @@ -316,10 +318,9 @@ jobs:
displayName: 'Compare platform-independence dars of different platforms.'
- job: compatibility_ts_libs
condition: false
dependsOn:
- check_for_release
condition: and(succeeded(),
not(eq(dependencies.check_for_release.outputs['out.is_release'], 'true')))
timeoutInMinutes: 240
pool:
name: ubuntu_20_04
Expand Down Expand Up @@ -352,6 +353,7 @@ jobs:

# For main and PRs targeting main, we simply check against the most recent stable tag.
- job: compatibility_stable_protobuf
condition: false
pool:
name: ubuntu_20_04
demands: assignment -equals default
Expand Down
1 change: 1 addition & 0 deletions ci/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
name: macOS-pool
demands: assignment -equals ${{parameters.assignment}}
condition: and(succeeded(),
eq('${{parameters.name}}', 'm1'),
or(eq('${{parameters.name}}', 'macos'),
or(eq(variables['Build.SourceBranchName'], 'main'),
eq(variables['Build.SourceBranchName'], 'main-2.x'))))
Expand Down

0 comments on commit 1d6b829

Please sign in to comment.