Skip to content

Commit

Permalink
disable other jobs for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Mukilan Thiyagarajan <[email protected]>
  • Loading branch information
mukilan committed Sep 13, 2024
1 parent 96bd904 commit 1c434b2
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 79 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
build:
name: Android Build
runs-on: ubuntu-22.04
permissions:
id-token: write
attestations: write
strategy:
matrix:
target: ['aarch64-linux-android', 'armv7-linux-androideabi', 'i686-linux-android', 'x86_64-linux-android']
Expand Down
76 changes: 38 additions & 38 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,34 @@ on:
workflow_dispatch:

jobs:
build-win:
name: Windows
if: ${{ github.event_name != 'pull_request' }}
uses: ./.github/workflows/windows.yml
with:
unit-tests: true
secrets: inherit

build-mac:
name: Mac
if: ${{ github.event_name != 'pull_request' }}
uses: ./.github/workflows/mac.yml
with:
unit-tests: true
secrets: inherit
# build-win:
# name: Windows
# if: ${{ github.event_name != 'pull_request' }}
# uses: ./.github/workflows/windows.yml
# with:
# unit-tests: true
# secrets: inherit
#
# build-mac:
# name: Mac
# if: ${{ github.event_name != 'pull_request' }}
# uses: ./.github/workflows/mac.yml
# with:
# unit-tests: true
# secrets: inherit
#
# build-linux:
# name: Linux
# uses: ./.github/workflows/linux.yml
# with:
# unit-tests: true
# wpt-layout: ${{ github.event_name == 'pull_request' && 'none' || '2020' }}
# secrets: inherit

build-linux:
name: Linux
uses: ./.github/workflows/linux.yml
with:
unit-tests: true
wpt-layout: ${{ github.event_name == 'pull_request' && 'none' || '2020' }}
secrets: inherit

lint:
name: Lint
uses: ./.github/workflows/lint.yml
secrets: inherit
# lint:
# name: Lint
# uses: ./.github/workflows/lint.yml
# secrets: inherit

build-android:
name: Android
Expand All @@ -51,25 +51,25 @@ jobs:
profile: "release"
secrets: inherit

build-ohos:
name: OpenHarmony
if: ${{ github.event_name != 'pull_request' }}
uses: ./.github/workflows/ohos.yml
with:
profile: "release"
# build-ohos:
# name: OpenHarmony
# if: ${{ github.event_name != 'pull_request' }}
# uses: ./.github/workflows/ohos.yml
# with:
# profile: "release"

build-result:
name: Result
runs-on: ubuntu-latest
if: always()
# needs all build to detect cancellation
needs:
- "build-win"
- "build-mac"
- "build-linux"
# - "build-win"
# - "build-mac"
# - "build-linux"
- "build-android"
- "build-ohos"
- "lint"
# - "build-ohos"
# - "lint"
steps:
- name: Merge build timings
uses: actions/upload-artifact/merge@v4
Expand Down
82 changes: 41 additions & 41 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,49 +69,49 @@ jobs:
RELEASE_ID: ${{ needs.create-draft-release.outputs.release-id }}
needs:
- create-draft-release
- upload-linux
- upload-win
- upload-mac
# - upload-linux
# - upload-win
# - upload-mac
- upload-android

upload-win:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload nightly (Windows)
needs:
- create-draft-release
uses: ./.github/workflows/windows.yml
with:
profile: "production"
upload: true
github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
secrets: inherit

upload-mac:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload nightly (macOS)
needs:
- create-draft-release
uses: ./.github/workflows/mac.yml
with:
profile: "production"
upload: true
github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
secrets: inherit

upload-linux:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload nightly (Linux)
needs:
- create-draft-release
uses: ./.github/workflows/linux.yml
with:
profile: "production"
upload: true
github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
secrets: inherit
# upload-win:
# # This job is only useful when run on upstream servo.
# if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
# name: Upload nightly (Windows)
# needs:
# - create-draft-release
# uses: ./.github/workflows/windows.yml
# with:
# profile: "production"
# upload: true
# github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
# secrets: inherit
#
# upload-mac:
# # This job is only useful when run on upstream servo.
# if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
# name: Upload nightly (macOS)
# needs:
# - create-draft-release
# uses: ./.github/workflows/mac.yml
# with:
# profile: "production"
# upload: true
# github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
# secrets: inherit
#
# upload-linux:
# # This job is only useful when run on upstream servo.
# if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
# name: Upload nightly (Linux)
# needs:
# - create-draft-release
# uses: ./.github/workflows/linux.yml
# with:
# profile: "production"
# upload: true
# github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
# secrets: inherit

upload-android:
# This job is only useful when run on upstream servo.
Expand Down

0 comments on commit 1c434b2

Please sign in to comment.