gen/c: resolve each file at most once in the native-input cache scan #34991
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: toml CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'vlib/**' | |
| - '.github/actions/setup-v/**' | |
| - '**/toml_ci.yml' | |
| - '!**.md' | |
| pull_request: | |
| paths: | |
| - 'vlib/**' | |
| - '.github/actions/setup-v/**' | |
| - '**/toml_ci.yml' | |
| - '!**.md' | |
| concurrency: | |
| group: toml-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| toml-module-pass-external-test-suites: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Cache V toolchain | |
| id: cache-v | |
| uses: actions/cache@v6 | |
| with: | |
| path: | | |
| v | |
| thirdparty/tcc | |
| key: v-toml-${{ runner.os }}-${{ hashFiles('cmd/v/**', '!cmd/v/**/*_test*.v', 'cmd/tools/select_linux_tcc.sh', 'cmd/tools/git_argv.sh', 'cmd/tools/detect_tcc.v', 'vlib/**', '!vlib/toml/**', '!vlib/**/*_test*.v', '!vlib/**/tests/**', '!vlib/**/testdata/**', '!vlib/v/slow_tests/**', 'thirdparty/**', 'GNUmakefile', 'Makefile', '.github/actions/setup-v/**', '.github/workflows/toml_ci.yml') }} | |
| - uses: ./.github/actions/setup-v | |
| if: steps.cache-v.outputs.cache-hit != 'true' | |
| with: | |
| symlink: false | |
| - name: Register problem matchers | |
| if: steps.cache-v.outputs.cache-hit == 'true' | |
| run: ./v run .github/problem-matchers/register_all.vsh | |
| - name: Symlink V | |
| run: ./v symlink | |
| - name: Install dependencies | |
| run: | | |
| v retry -- v download https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 | |
| sudo chmod 755 jq-linux64 | |
| sudo mv jq-linux64 /usr/bin/jq | |
| - name: Show JQ Version | |
| run: jq --version | |
| - name: Download more TOML testsuits | |
| run: .github/workflows/download_full_toml_test_suites.sh | |
| - name: Run TOML tests | |
| run: VTEST_TOML_DO_YAML_CONVERSION=1 VTEST_TOML_DO_LARGE_FILES=1 ./v test vlib/toml |