fix:get server binary realpath when from PATH env #341
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: Build CI | |
| on: | |
| push: | |
| paths-ignore: | |
| - '.github/**' | |
| - '!**/build_ci.yml' | |
| - '**/test/**' | |
| - '**/tests/**' | |
| - '**/*.md' | |
| - '**/test_*.v' | |
| - '**/*_test.v' | |
| pull_request: | |
| paths-ignore: | |
| - '.github/**' | |
| - '!**/build_ci.yml' | |
| - '**/test/**' | |
| - '**/tests/**' | |
| - '**/*.md' | |
| - '**/test_*.v' | |
| - '**/*_test.v' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| mode: [debug, dev, release] | |
| fail-fast: false | |
| 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: | |
| submodules: true | |
| - name: Build | |
| run: v build.vsh ${{ matrix.mode }} | |
| - name: Check if the build is successful | |
| run: ./bin/v-analyzer --version |