2021-09-24 21:13:52 +03: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
|
2021-11-06 16:35:31 +03:00
|
|
|
timeout-minutes: 10
|
|
|
|
env:
|
|
|
|
TOML_TESTS_PATH: vlib/toml/tests/testdata/burntsushi/toml-test
|
|
|
|
TOML_TESTS_PINNED_COMMIT: 982482f
|
2021-09-24 21:13:52 +03:00
|
|
|
steps:
|
|
|
|
|
2021-11-06 16:35:31 +03:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build V
|
|
|
|
run: make -j2 && ./v -cc gcc -o v cmd/v
|
2021-09-24 21:13:52 +03:00
|
|
|
|
2021-11-06 16:35:31 +03: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 21:13:52 +03:00
|
|
|
|
2021-11-06 16:35:31 +03:00
|
|
|
- name: Run tests
|
|
|
|
run: ./v -stats test vlib/toml
|