Skip to content

Gura Continuous Integration #586

Gura Continuous Integration

Gura Continuous Integration #586

Workflow file for this run

name: Gura Continuous Integration
concurrency:
group: ci-${{ github.event.number }}
cancel-in-progress: true
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
- cron: "31 1,12 * * *"
push:
branches:
- main
pull_request:
branches:
- main
jobs:
validate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Gura
uses: actions/checkout@v2
with:
path: gura
- name: Setup V
uses: vlang/setup-v@v1
with:
check-latest: true
- name: V doctor
run: v doctor
- name: Copy Gura source code to V Modules
run: cp -rf ./gura ~/.vmodules
- name: Validate Docs
run: |
cd ./gura
v check-md .
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04, macos-latest]
steps:
- name: Checkout Gura
uses: actions/checkout@v2
with:
path: gura
- name: Setup V
uses: vlang/setup-v@v1
with:
check-latest: true
- name: V doctor
run: v doctor
- name: Move Gura source code to V Modules
run: mv ./gura ~/.vmodules
- name: Execute Tests using Pure V Backend
run: ~/.vmodules/gura/bin/test