Skip to content

Build and Test

Build and Test #135

Workflow file for this run

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