fix(ssa): fix incorrectly ABI for uninstantiated generic methods #3575
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
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Go | |
on: | |
push: | |
branches: [ "**" ] | |
pull_request: | |
branches: [ "**" ] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-24.04 | |
llvm: [18] | |
runs-on: ${{matrix.os}} | |
defaults: | |
run: | |
working-directory: compiler | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: ./.github/actions/setup-deps | |
with: | |
llvm-version: ${{matrix.llvm}} | |
- name: Clang information | |
run: | | |
echo $PATH | |
which clang | |
clang --version | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
if: ${{!startsWith(matrix.os, 'macos')}} | |
run: go test -v ./... | |
- name: Test with coverage | |
if: startsWith(matrix.os, 'macos') | |
run: go test -v -coverprofile="coverage.txt" -covermode=atomic ./... | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
slug: goplus/llgo | |
codecov_yml_path: .github/ci-config/codecov.yml |