fix: resolve compiler complaints #29
Workflow file for this run
This file contains 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: Analyzer tests | |
on: | |
push: | |
paths-ignore: | |
- '.github/**' | |
- 'editors/code/**' | |
- '**/*.md' | |
pull_request: | |
paths-ignore: | |
- '.github/**' | |
- 'editors/code/**' | |
- '**/*.md' | |
jobs: | |
test: | |
strategy: | |
matrix: | |
include: | |
- os: macos-latest | |
cc: -cc clang | |
- os: ubuntu-20.04 | |
cc: -cc gcc | |
- os: windows-latest | |
cc: -cc gcc | |
fail-fast: false | |
name: Analyzer tests on ${{ matrix.os }} with ${{ matrix.cc }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install V | |
id: install-v | |
uses: vlang/[email protected] | |
with: | |
check-latest: true | |
- name: Checkout v-analyzer | |
uses: actions/checkout@v4 | |
with: | |
path: v-analyzer | |
submodules: true | |
- name: Run tests | |
run: | | |
cd v-analyzer/tests | |
v ${{ matrix.cc }} run . | |
- name: Run other V tests | |
run: | | |
cd v-analyzer | |
v ${{ matrix.cc }} test . |