diff --git a/.github/workflows/go-ci.yml b/.github/workflows/go-ci.yml index 4a2d149..a7eac15 100644 --- a/.github/workflows/go-ci.yml +++ b/.github/workflows/go-ci.yml @@ -13,8 +13,8 @@ jobs: macos: strategy: matrix: - os: [macos-latest, macos-12] - go: ['1.17', '1.18', '1.19'] + os: [macos-latest, macos-13] + go: ['1.19', '1.20', '1.21'] runs-on: ${{ matrix.os }} name: macOS Go${{ matrix.go }} on ${{ matrix.os }} steps: diff --git a/preprocessflags_x.go b/preprocessflags_x.go index 2f5ef1c..f12d1a2 100644 --- a/preprocessflags_x.go +++ b/preprocessflags_x.go @@ -3,6 +3,5 @@ package gosseract // #cgo CXXFLAGS: -std=c++0x // #cgo CPPFLAGS: -I/usr/local/include // #cgo CPPFLAGS: -Wno-unused-result -// #cgo darwin LDFLAGS: -L/usr/local/lib -llept -ltesseract -// #cgo !darwin LDFLAGS: -L/usr/local/lib -lleptonica -ltesseract +// #cgo LDFLAGS: -L/usr/local/lib -lleptonica -ltesseract import "C"