vm: bool fast path for OpJmpIf{False,True,FalsePeek} #1006
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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go-version: ['1.25', '1.26'] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Build | |
| run: go build ./... | |
| - name: Test | |
| run: go test -v -count=1 ./... | |
| - name: Build SAPIs | |
| run: | | |
| go build ./sapi/php-cli | |
| go build ./sapi/php-cgi | |
| go build ./sapi/php-fpm | |
| go build ./sapi/php-httpd | |
| - name: Vet | |
| run: go vet ./... | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.26' | |
| - name: Test with coverage | |
| # Don't mark the job failed on test failures — the `test` job already | |
| # surfaces those, and we still want the coverage.out file that go test | |
| # writes incrementally to reach Coveralls. | |
| continue-on-error: true | |
| run: go test -v -count=1 -covermode=count -coverpkg=./... -coverprofile=coverage.out ./... | |
| - name: Upload coverage to Coveralls | |
| if: always() && hashFiles('coverage.out') != '' | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| file: coverage.out | |
| format: golang |