CI: Enable ZIP building on fx102 branch
Tests are still skipped
This commit is contained in:
parent
223f44fdfd
commit
169db42cf6
1 changed files with 9 additions and 5 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -3,7 +3,6 @@ on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build, Upload, Test
|
name: Build, Upload, Test
|
||||||
if: false # temporarily disabled
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -18,7 +17,8 @@ jobs:
|
||||||
|
|
||||||
# On GitHub
|
# On GitHub
|
||||||
- name: Install xvfb
|
- name: Install xvfb
|
||||||
if: env.ACT != 'true'
|
if: false # temporarily disabled
|
||||||
|
#if: env.ACT != 'true'
|
||||||
run: sudo apt update && sudo apt install -y xvfb
|
run: sudo apt update && sudo apt install -y xvfb
|
||||||
|
|
||||||
# Local via act
|
# Local via act
|
||||||
|
@ -27,6 +27,7 @@ jobs:
|
||||||
run: apt update && apt install -y zstd xvfb dbus-x11 libgtk-3-0 libx11-xcb1 libdbus-glib-1-2 libxt6
|
run: apt update && apt install -y zstd xvfb dbus-x11 libgtk-3-0 libx11-xcb1 libdbus-glib-1-2 libxt6
|
||||||
|
|
||||||
- name: Cache Firefox
|
- name: Cache Firefox
|
||||||
|
if: false # temporarily disabled
|
||||||
id: firefox-cache
|
id: firefox-cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
@ -34,11 +35,13 @@ jobs:
|
||||||
key: firefox-60.9.0esr
|
key: firefox-60.9.0esr
|
||||||
|
|
||||||
- name: Download Firefox
|
- name: Download Firefox
|
||||||
if: steps.firefox-cache.outputs.cache-hit != 'true'
|
if: false # temporarily disabled
|
||||||
|
#if: steps.firefox-cache.outputs.cache-hit != 'true'
|
||||||
run: wget -O tarball "https://zotero-download.s3.us-east-1.amazonaws.com/dev/firefox-60.9.0esr-x86_64-modified.tar.gz"
|
run: wget -O tarball "https://zotero-download.s3.us-east-1.amazonaws.com/dev/firefox-60.9.0esr-x86_64-modified.tar.gz"
|
||||||
|
|
||||||
- name: Extract Firefox
|
- name: Extract Firefox
|
||||||
if: steps.firefox-cache.outputs.cache-hit != 'true'
|
if: false # temporarily disabled
|
||||||
|
#if: steps.firefox-cache.outputs.cache-hit != 'true'
|
||||||
run: tar xvf tarball
|
run: tar xvf tarball
|
||||||
|
|
||||||
- name: Cache Node modules
|
- name: Cache Node modules
|
||||||
|
@ -60,7 +63,7 @@ jobs:
|
||||||
env.ACT != 'true'
|
env.ACT != 'true'
|
||||||
&& github.repository == 'zotero/zotero'
|
&& github.repository == 'zotero/zotero'
|
||||||
&& github.event_name == 'push'
|
&& github.event_name == 'push'
|
||||||
&& (github.ref == 'refs/heads/master' || endsWith(github.ref, '-hotfix') || github.ref == 'refs/heads/gh-actions-ci-test')
|
&& (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/fx102' || endsWith(github.ref, '-hotfix') || github.ref == 'refs/heads/gh-actions-ci-test')
|
||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
@ -73,6 +76,7 @@ jobs:
|
||||||
dpl --provider=s3 --bucket=zotero-download --local-dir=build-zip --upload-dir=ci/client --acl=public-read --skip_cleanup=true
|
dpl --provider=s3 --bucket=zotero-download --local-dir=build-zip --upload-dir=ci/client --acl=public-read --skip_cleanup=true
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
if: false # temporarily disabled
|
||||||
run: xvfb-run test/runtests.sh -x firefox-x86_64/firefox -f
|
run: xvfb-run test/runtests.sh -x firefox-x86_64/firefox -f
|
||||||
|
|
||||||
- name: Cache utilities Node modules
|
- name: Cache utilities Node modules
|
||||||
|
|
Loading…
Reference in a new issue