Skip to content

all: run fmt -w . to prevent warning msgs #157

all: run fmt -w . to prevent warning msgs

all: run fmt -w . to prevent warning msgs #157

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-docs:
runs-on: ubuntu-latest
timeout-minutes: 30
if: github.event_name == 'push'
steps:
- name: Checkout V
uses: actions/checkout@v2
with:
repository: vlang/v
- uses: actions/checkout@v2
with:
path: vex
- name: Build local v
run: make
- name: Generate docs
run: ./v doc -f html -m -readme ./vex
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./vex/_docs
ubuntu-tcc:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout V
uses: actions/checkout@v2
with:
repository: vlang/v
- uses: actions/checkout@v2
with:
path: vex
- name: Build local v
run: make
- name: Run tests
run: ./v test vex
- name: Compile examples
run: |
mkdir ~/.vmodules/nedpals
cp -r vex ~/.vmodules/nedpals/vex
./v should-compile-all ~/.vmodules/nedpals/vex/examples
macos-clang:
runs-on: macOS-latest
timeout-minutes: 30
steps:
- name: Checkout V
uses: actions/checkout@v2
with:
repository: vlang/v
- uses: actions/checkout@v2
with:
path: vex
- name: Build local v
run: make
- name: Run tests
run: ./v test vex
- name: Compile examples
run: |
mkdir ~/.vmodules/nedpals
cp -r vex ~/.vmodules/nedpals/vex
./v should-compile-all ~/.vmodules/nedpals/vex/examples
windows-msvc:
runs-on: windows-2019
timeout-minutes: 30
steps:
- name: Checkout V
uses: actions/checkout@v2
with:
repository: vlang/v
- uses: actions/checkout@v2
with:
path: vex
- name: Build local v
run: .\make.bat
- name: Run tests
run: .\v.exe test vex