From 1c434b253dcedb2fed3c9480c3db899cc6d7ff57 Mon Sep 17 00:00:00 2001 From: Mukilan Thiyagarajan Date: Fri, 13 Sep 2024 19:11:53 +0530 Subject: [PATCH] disable other jobs for testing Signed-off-by: Mukilan Thiyagarajan --- .github/workflows/android.yml | 3 ++ .github/workflows/main.yml | 76 ++++++++++++++++---------------- .github/workflows/nightly.yml | 82 +++++++++++++++++------------------ 3 files changed, 82 insertions(+), 79 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index dc9a38d5f1fd5..aa99da1e8fd60 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -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'] diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 446d4f36ef3e1..e262144e25edb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -51,12 +51,12 @@ 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 @@ -64,12 +64,12 @@ jobs: 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 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 612ea3e038ccd..fde85a67be692 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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.