1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vlib: add toml module + tests (#11964)

This commit is contained in:
Larpon
2021-09-24 20:13:52 +02:00
committed by GitHub
parent 834cf40ab2
commit 5541ec8670
31 changed files with 3459 additions and 0 deletions

27
.github/workflows/toml_ci.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: toml CI
on:
push:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
jobs:
toml-module-pass-external-test-suites:
runs-on: ubuntu-20.04
timeout-minutes: 121
steps:
- uses: actions/checkout@v2
- name: Build V
run: make -j2 && ./v -cc gcc -o v cmd/v
- name: Clone BurntSushi/toml-test
run: |
cd vlib/toml/tests/testdata
git clone --depth 1 https://github.com/BurntSushi/toml-test.git burntsushi/toml-test
- name: Run tests
run: ./v -stats test vlib/toml