Skip to content

Commit

Permalink
Try to fix try build
Browse files Browse the repository at this point in the history
  • Loading branch information
mrobinson committed Dec 18, 2023
1 parent ebc5ba8 commit bc6953a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ jobs:
run: sudo apt update && python3 ./mach bootstrap
- name: Tidy
run: python3 ./mach test-tidy --no-progress --all
- name: Build (${{ inputs.profile }})
run: python3 ./mach build --${{ inputs.profile }}
- name: Build (${{ inputs.profile || 'release' }})
run: python3 ./mach build --${{ inputs.profile || 'release' }}
- name: Smoketest
run: xvfb-run python3 ./mach smoketest --${{ inputs.profile }}
run: xvfb-run python3 ./mach smoketest --${{ inputs.profile || 'release' }}
- name: Script tests
run: ./mach test-scripts
- name: Unit tests
Expand All @@ -105,7 +105,7 @@ jobs:
with:
timeout_minutes: 20
max_attempts: 2 # https://github.com/servo/servo/issues/30683
command: python ./mach test-unit --${{ inputs.profile }}
command: python ./mach test-unit --${{ inputs.profile || 'release' }}
- name: Rename build timing
run: cp -r target/cargo-timings target/cargo-timings-linux
- name: Archive build timing
Expand All @@ -117,7 +117,7 @@ jobs:
- name: Lockfile check
run: ./etc/ci/lockfile_changed.sh
- name: Build mach package
run: python3 ./mach package --${{ inputs.profile }}
run: python3 ./mach package --${{ inputs.profile || 'release' }}
- name: Upload artifact for mach package
uses: actions/upload-artifact@v3
with:
Expand All @@ -134,7 +134,7 @@ jobs:
NIGHTLY_REPO_TOKEN: ${{ secrets.NIGHTLY_REPO_TOKEN }}
NIGHTLY_REPO: ${{ github.repository_owner }}/servo-nightly-builds
- name: Build package for target
run: tar -czf target.tar.gz target/${{ inputs.profile }}/servo resources
run: tar -czf target.tar.gz target/${{ inputs.profile || 'release' }}/servo resources
- name: Upload artifact for target
uses: actions/upload-artifact@v3
with:
Expand All @@ -147,7 +147,7 @@ jobs:
needs: ["build"]
uses: ./.github/workflows/linux-wpt.yml
with:
profile: ${{ inputs.profile }}
profile: ${{ inputs.profile || 'release' }}
wpt: ${{ inputs.wpt }}
layout: "layout-2020"
secrets: inherit
Expand All @@ -158,7 +158,7 @@ jobs:
needs: ["build"]
uses: ./.github/workflows/linux-wpt.yml
with:
profile: ${{ inputs.profile }}
profile: ${{ inputs.profile || 'release' }}
wpt: ${{ inputs.wpt }}
layout: "layout-2013"
secrets: inherit
Expand Down

0 comments on commit bc6953a

Please sign in to comment.