Skip to content

improve Go to C type mapping #57

improve Go to C type mapping

improve Go to C type mapping #57

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- develop
pull_request:
types:
- opened
- synchronize
jobs:
test:
name: Tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-13, macos-14, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Install dependencies
run: go get .
# - name: Build
# run: CGO_ENABLED=1 go build -ldflags "-linkmode external -extldflags '-static' -s -w" -v ./...
- name: Test with the Go CLI
run: go test
env:
CGO_ENABLED: 1
GOEXPERIMENT: cgocheck2