v/.github/workflows/toml_ci.yml

36 lines
920 B
YAML
Raw Normal View History

2021-09-24 20:13:52 +02:00
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
2021-09-24 20:13:52 +02:00
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
2021-09-24 20:13:52 +02:00
- 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
2021-09-24 20:13:52 +02:00
- name: Run tests
run: ./v -stats test vlib/toml