mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
commit
6fb584b2b3
3 changed files with 33 additions and 21 deletions
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
git add .
|
||||
git -c user.name="Workflow" -c user.email="" \
|
||||
commit -q -m "Rebuild Servo documentation"
|
||||
git remote set-url origin https://git:${DOC_SERVO_ORG}@github.com/servo/doc.servo.org
|
||||
git push --force origin FETCH_HEAD:gh-pages
|
||||
git remote add origin https://git:${DOC_SERVO_ORG}@github.com/servo/doc.servo.org
|
||||
git push --force origin master:gh-pages
|
||||
env:
|
||||
DOC_SERVO_ORG: ${{ secrets.DOC_SERVO_ORG }}
|
||||
|
|
31
.github/workflows/nightly-rust.yml
vendored
Normal file
31
.github/workflows/nightly-rust.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: Nightly rustc build
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Run at 5:30 am, daily.
|
||||
- cron: '15 5 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
SHELL: /bin/bash
|
||||
|
||||
jobs:
|
||||
build-linux-with-rust-nightly:
|
||||
name: Build (Linux) + rustc nightly
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Update rustc
|
||||
run: echo nightly > rust-toolchain
|
||||
- name: Bootstrap
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip virtualenv
|
||||
sudo apt update
|
||||
python3 ./mach bootstrap
|
||||
- name: Release build
|
||||
run: python3 ./mach build --release
|
||||
- name: Unit tests
|
||||
run: python3 ./mach test-unit --release
|
19
.github/workflows/nightly.yml
vendored
19
.github/workflows/nightly.yml
vendored
|
@ -11,25 +11,6 @@ env:
|
|||
SHELL: /bin/bash
|
||||
|
||||
jobs:
|
||||
build-linux-with-rust-nightly:
|
||||
name: Build (Linux) + rustc nightly
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Update rustc
|
||||
run: echo nightly > rust-toolchain
|
||||
- name: Bootstrap
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip virtualenv
|
||||
sudo apt update
|
||||
python3 ./mach bootstrap
|
||||
- name: Release build
|
||||
run: python3 ./mach build --release
|
||||
- name: Unit tests
|
||||
run: python3 ./mach test-unit --release
|
||||
|
||||
upload-linux:
|
||||
name: Upload nightly (Linux)
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue