diff options
author | Josh Matthews <josh@joshmatthews.net> | 2021-05-25 13:10:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-25 13:10:30 -0400 |
commit | dca38973003abbcbea1621eb3150aa2b6fd5c5cd (patch) | |
tree | f2316be6944ca7cc534ceb0f1eaf66f230e7f805 | |
parent | b4622e0546dcb13ebf82532312dde15671241b06 (diff) | |
download | servo-jdm-patch-49.tar.gz servo-jdm-patch-49.zip |
testjdm-patch-49
-rw-r--r-- | .github/workflows/nightly.yml | 80 |
1 files changed, 4 insertions, 76 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c7f3c974e7c..65a549c13e3 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -11,78 +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 - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 2 - - 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: Package - run: python3 ./mach package --release - - name: Upload - run: python3 ./mach upload-nightly linux --secret-from-environment - env: - S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }} - - upload-mac: - name: Upload nightly (macOS) - runs-on: macos-10.15 - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 2 - - name: Bootstrap - run: | - python3 -m pip install --upgrade pip virtualenv - brew bundle install --verbose --no-upgrade --file=etc/taskcluster/macos/Brewfile - brew bundle install --verbose --no-upgrade --file=etc/taskcluster/macos/Brewfile-build - rm -rf /usr/local/etc/openssl - rm -rf /usr/local/etc/openssl@1.1 - brew install openssl@1.1 gnu-tar - - name: Release build - run: | - export OPENSSL_INCLUDE_DIR="$(brew --prefix openssl)/include" - export OPENSSL_LIB_DIR="$(brew --prefix openssl)/lib" - export PKG_CONFIG_PATH="$(brew --prefix libffi)/lib/pkgconfig/" - export PKG_CONFIG_PATH="$(brew --prefix zlib)/lib/pkgconfig/:$PKG_CONFIG_PATH" - python3 ./mach build --release - - name: Package - run: python3 ./mach package --release - - name: Smoketest - run: ./etc/ci/macos_package_smoketest.sh target/release/servo-tech-demo.dmg - - name: Upload - run: python3 ./mach upload-nightly mac --secret-from-environment - env: - S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }} - GITHUB_HOMEBREW_TOKEN: ${{ secrets.HOMEBREW_TOKEN }} - upload-win: name: Upload nightly (Windows) runs-on: windows-2019 @@ -93,18 +21,18 @@ jobs: - name: Copy to C drive run: cp D:\a C:\ -Recurse - name: Bootstrap - working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}" + working-directory: "C:\\a\\servo\\servo" run: | python -m pip install --upgrade pip virtualenv python mach fetch - name: Release build - working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}" + working-directory: "C:\\a\\servo\\servo" run: python mach build --release --media-stack=dummy - name: Package - working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}" + working-directory: "C:\\a\\servo\\servo" run: python mach package --release - name: Upload - working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}" + working-directory: "C:\\a\\servo\\servo" run: python mach upload-nightly windows-msvc --secret-from-environment env: S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }} |