fix compilation with latest V, add a CI (#30) #1
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: | |
jobs: | |
basic-checks: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout V | |
uses: actions/checkout@v2 | |
with: | |
repository: vlang/v | |
- name: Checkout vorum | |
uses: actions/checkout@v2 | |
with: | |
path: vorum | |
- name: Build V | |
run: | | |
make | |
./v symlink -githubci | |
- name: Build Vorum | |
run: v vorum | |
- name: Check Vorum code is VFMTed | |
run: v fmt -verify vorum/ | |
- name: Vet Vorum | |
run: v vet vorum |