Merge pull request #22 from ZcashFoundation/fix-ci
Use plain actions-rs for CI
This commit is contained in:
commit
18dfb01c7e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue