From 29ddfafb7acd1b8e7784f0f6d2d0912a27d2a64e Mon Sep 17 00:00:00 2001 From: sagudev <16504129+sagudev@users.noreply.github.com> Date: Sun, 26 Feb 2023 15:24:26 +0100 Subject: [PATCH 1/2] Quick check that is run on PR and on forks push --- .github/workflows/{pull-request.yml => quick-check.yml} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename .github/workflows/{pull-request.yml => quick-check.yml} (77%) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/quick-check.yml similarity index 77% rename from .github/workflows/pull-request.yml rename to .github/workflows/quick-check.yml index 27505677fdc..f72131cf973 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/quick-check.yml @@ -1,7 +1,9 @@ -name: Pull request +name: Quick check on: pull_request: - branches: ["**"] + push: + branches: + [ "**", "!auto", "!try", "!try-linux", "!try-mac", "!try-windows", "!try-wpt"] env: RUST_BACKTRACE: 1 @@ -9,6 +11,7 @@ env: jobs: build-linux: + if: github.repository == 'servo/servo' || github.event_name == 'push' name: Build (Linux) runs-on: ubuntu-20.04 steps: From d57fbcfc9cb1ec1971628545079d9f50fff9a71b Mon Sep 17 00:00:00 2001 From: sagudev <16504129+sagudev@users.noreply.github.com> Date: Sun, 26 Feb 2023 15:29:45 +0100 Subject: [PATCH 2/2] Smoketest in Linux CI --- .github/workflows/nightly-rust.yml | 2 ++ .github/workflows/quick-check.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/nightly-rust.yml b/.github/workflows/nightly-rust.yml index f033c84f735..8900515f091 100644 --- a/.github/workflows/nightly-rust.yml +++ b/.github/workflows/nightly-rust.yml @@ -29,5 +29,7 @@ jobs: python3 ./mach bootstrap - name: Release build run: python3 ./mach build --release + - name: Smoketest + run: xvfb-run python3 ./mach smoketest - name: Unit tests run: python3 ./mach test-unit --release diff --git a/.github/workflows/quick-check.yml b/.github/workflows/quick-check.yml index f72131cf973..bd6f3f09a97 100644 --- a/.github/workflows/quick-check.yml +++ b/.github/workflows/quick-check.yml @@ -26,6 +26,8 @@ jobs: run: python3 ./mach test-tidy --no-progress --all - name: Release build run: python3 ./mach build --release + - name: Smoketest + run: xvfb-run python3 ./mach smoketest - name: Unit tests run: python3 ./mach test-unit --release - name: Lockfile check