ci: add workflow_dispatch as possible event trigger for the CI, to en… #474
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
schedule: | |
- cron: '31 1,12 * * *' | |
jobs: | |
works-on-latest-v-and-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install colordiff libssl-dev libpcre3 libpcre3-dev | |
- name: Checkout V | |
uses: actions/checkout@v2 | |
with: | |
repository: vlang/v | |
- name: Build V | |
run: make && ./v symlink -githubci | |
- name: Checkout V AoC repo | |
uses: actions/checkout@v2 | |
with: | |
path: aoc | |
- name: Run verify.v | |
run: cd aoc && v install pcre && v run verify.v |