Build and Test #135
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'README.md' | |
pull_request: | |
branches: | |
- master | |
# This workflow is triggered by a scheduled event that runs at 1 AM UTC every day. | |
schedule: | |
- cron: "0 1 * * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
cancel: | |
name: Cancel Previous Runs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: ./.ci/ci_before_install.sh | |
- name: Build | |
run: ./.ci/ci_build.sh | |
- name: Test | |
run: ./.ci/ci_run_tests.sh |