Skip to content

Commit

Permalink
Update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenL committed Aug 31, 2024
1 parent 2035a73 commit a91861b
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,20 @@ jobs:
# Go 1.14 made -mod=vendor default.
# Go 1.13 is the version set in go.mod.
include:
- { image: macos-14, go: '1.22' }
- { image: macos-14, go: '1.22', backend: webview.backend.cocoa_webkit }
# macos-12 runner has x86_64 support which is needed for old versions of Go
- { image: macos-12, go: '1.13' }
- { image: ubuntu-22.04, go: '1.22' }
- { image: ubuntu-22.04, go: '1.14' }
- { image: ubuntu-22.04, go: '1.13' }
- { image: windows-2022, go: '1.22' }
- { image: macos-12, go: '1.13', backend: webview.backend.cocoa_webkit }
- { image: ubuntu-22.04, go: '1.22', backend: webview.backend.gtk3_webkitgtk600 }
- { image: ubuntu-22.04, go: '1.22', backend: webview.backend.gtk3_webkitgtk401 }
- { image: ubuntu-22.04, go: '1.22', backend: webview.backend.gtk3_webkitgtk400 }
- { image: ubuntu-22.04, go: '1.14', backend: webview.backend.gtk3_webkitgtk401 }
- { image: ubuntu-22.04, go: '1.13', backend: webview.backend.gtk3_webkitgtk401 }
- { image: windows-2022, go: '1.22', backend: webview.backend.win32_edge }
# Go 1.20 is the earliest version that is usable in this environment as of 2024-08-31.
# Compilation fails with older versions:
# [...]/bin/ld.exe: [...]\go-link-3209855222\000008.o: in function `x_cgo_thread_start':
# \\_\_\runtime\cgo/gcc_util.c:18: undefined reference to `__imp___iob_func'
- { image: windows-2022, go: '1.20' }
- { image: windows-2022, go: '1.20', backend: webview.backend.win32_edge }
name: Build (${{ matrix.image }}, go ${{ matrix.go }})
steps:
- uses: actions/checkout@v4
Expand All @@ -37,7 +39,10 @@ jobs:
- name: Build examples
run: >
go build
-tags ${{ matrix.backend }}
./examples/basic
./examples/bind
- name: Run tests
run: go test
run: >
go test
-tags ${{ matrix.backend }}

0 comments on commit a91861b

Please sign in to comment.