Merge pull request #22 from ZcashFoundation/fix-ci

Use plain actions-rs for CI
This commit is contained in:
Henry de Valence 2020-01-17 14:00:51 -08:00 committed by GitHub
commit 18dfb01c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 15 deletions

View File

@ -3,22 +3,18 @@ name: CI
on: [push] on: [push]
jobs: jobs:
test_nightly:
build: name: test on nightly
name: Google Cloud Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
# - run: # Because we use nightly features for building docs,
- name: Authenticate w/ Google Cloud # using --all-features will fail without nightly toolchain.
uses: actions/gcloud/auth@master - uses: actions-rs/toolchain@v1
env:
GCLOUD_AUTH: ${{ secrets.GCLOUD_AUTH }}
- name: Build, Test, Push to GCR
uses: actions/gcloud/cli@master
with: with:
entrypoint: bash toolchain: nightly
args: | override: true
-l -c "BRANCH_NAME=$GITHUB_REPOSITORY/$(expr $GITHUB_REF : '.*/\(.*\)') && \ - uses: actions-rs/cargo@v1
BRANCH_NAME=${BRANCH_NAME,,} && \ with:
gcloud builds submit . --config cloudbuild.yaml --project zealous-zebra --substitutions BRANCH_NAME=$BRANCH_NAME" command: test
args: --all-features