36 lines
920 B
YAML
36 lines
920 B
YAML
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: 10
|
|
env:
|
|
TOML_TESTS_PATH: vlib/toml/tests/testdata/burntsushi/toml-test
|
|
TOML_TESTS_PINNED_COMMIT: 576db85
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install --quiet -y jq
|
|
- name: Build V
|
|
run: make -j2 && ./v -cc gcc -o v cmd/v
|
|
|
|
- name: Clone BurntSushi/toml-test
|
|
run: |
|
|
git clone https://github.com/BurntSushi/toml-test.git $TOML_TESTS_PATH
|
|
## TODO: update/remove this pinning once all our skip lists are empty:
|
|
git -C $TOML_TESTS_PATH checkout $TOML_TESTS_PINNED_COMMIT
|
|
|
|
- name: Run tests
|
|
run: ./v -stats test vlib/toml
|