Commit Graph

216 Commits

Author SHA1 Message Date
Hajime Hoshi
cbff3555db internal/graphicsdriver/opengl: drop WebGL 1 support
Closes #2191
2023-03-18 22:50:09 +09:00
Hajime Hoshi
694bf449c8 .github/workflows: remove unnecessary file 2023-03-09 17:47:59 +09:00
Hajime Hoshi
65460184a2 .github/workflows: update Go versions 2023-03-09 17:22:30 +09:00
Hajime Hoshi
c7272cf9ba .github/workflows: add -p=1 for Linux
Updates #2571
2023-03-01 21:44:55 +09:00
Hajime Hoshi
48147cab05 Revert ".github/workflows: run the ebiten package tests first"
This reverts commit 57025641a0.

Reason: -shuffle=on prevents caching
2023-02-26 01:15:47 +09:00
Hajime Hoshi
2baecccf45 .github/workflows: run processtest separately
Updates #2571
2023-02-25 13:23:40 +09:00
Hajime Hoshi
57025641a0 .github/workflows: run the ebiten package tests first
Let's mitigate the test load by running the heaviest tests and depending
on cache.

Updates #2571
2023-02-20 01:37:38 +09:00
Hajime Hoshi
5038b8b645 .github/workflows: update Go versions 2023-02-15 18:51:33 +09:00
Hajime Hoshi
fb51e67910 .github/workflows: use cleanenv to reduce environment variables
Closes #2412
2023-02-08 01:11:06 +09:00
Hajime Hoshi
fa751853d7 .github/workflows: use Go 1.20 2023-02-02 10:35:15 +09:00
Hajime Hoshi
d37aadd064 .github/workflows: fix govetblock.txt
Updates #2546
2023-01-21 22:17:36 +09:00
Hajime Hoshi
aebb7e9aef .github/workflows: update wasmbrowsertest 2023-01-21 18:47:30 +09:00
Hajime Hoshi
b065f53a67 .github/workflows: update Go 1.20 to RC3 2023-01-20 16:16:41 +09:00
Hajime Hoshi
1da6b06041 .github/workflows/vuln: update Go versions 2023-01-11 21:37:19 +09:00
Hajime Hoshi
2f948f35d0 .github/workflows: use Go 1.20.0-rc.2 2023-01-05 19:20:34 +09:00
Hajime Hoshi
c159938910 .github/workflows: add Go 1.20 2022-12-08 14:26:02 +09:00
Hajime Hoshi
c12799dc05 .github.com/workflows: update Go versions 2022-12-07 13:56:54 +09:00
Hajime Hoshi
f6f7ed3e3d internal/graphicsdriver/opengl/gl: automatically choose OpenGL and OpenGL ES
Updates #292
2022-11-14 12:50:53 +09:00
Hajime Hoshi
3f9a2bff24 .github/workflows: clean up
Updates #2190
2022-11-12 16:24:57 +09:00
Hajime Hoshi
5caed29850 .github/workflows: clean up 2022-11-12 15:44:06 +09:00
Hajime Hoshi
f885c0db43 .github/workflows: update wasmbrowsertest
Updates #2412
2022-11-12 02:58:26 +09:00
Artem Yadelskyi
86e694941f
examples: remove example build tag (#2433)
Closes #1462
2022-11-03 20:24:09 +09:00
Artem Yadelskyi
10415d417a
all: replace interface{} with any (#2430)
Closes #2429
2022-11-03 15:33:09 +09:00
Hajime Hoshi
abbd4bddf1 .github/workflows/vettools: update dependencies 2022-11-03 13:26:26 +09:00
Hajime Hoshi
918f36ca89 .github/workflows/vettools: update go.mode for Go 1.18 2022-11-03 12:57:21 +09:00
Hajime Hoshi
137619e165 .github/workflows: add GOOS=js check for govulncheck 2022-11-02 13:50:51 +09:00
Hajime Hoshi
0153faef09 .github/workflows: bug fix: wrong GOOS for govulncheck 2022-11-02 13:25:04 +09:00
Hajime Hoshi
88af59e468 .github/workflows: separate the vulnerability check to vuln.yml 2022-11-02 13:19:05 +09:00
Hajime Hoshi
0bd2030be7 .github/workflows: do not update tags when editing an issue
This doesn't work well?
2022-10-31 14:36:00 +09:00
Hajime Hoshi
72bdd690a1 .github/workflows: use github/issue-labeler@v2.5 2022-10-30 16:35:26 +09:00
Hajime Hoshi
690e73c11b all: replace reflect.SliceHeader with unsafe.Slice
Closes #2420
2022-10-30 12:25:30 +09:00
Hajime Hoshi
6aa2edd244 .github/workflows: bug fix: -tags was needed for go-vet 2022-10-30 12:06:31 +09:00
Hajime Hoshi
4dcc961139 .github/workflows: bug fix: wrong filepath 2022-10-30 12:03:52 +09:00
Hajime Hoshi
3ced2ec6c7 .github/workflows: enable go-vet on Windows
Updates #1306
2022-10-30 12:00:44 +09:00
Hajime Hoshi
c00d348c3d .github/workflows: clean up 2022-10-29 23:31:36 +09:00
Hajime Hoshi
606ff77d89 all: drop Go 1.16 and Go 1.17 supports
Updates #2421
2022-10-29 23:22:10 +09:00
Hajime Hoshi
d1e4b82862 .github/workflows/issue-labeler: fix escaping 2022-10-27 23:20:44 +09:00
Hajime Hoshi
55684a83d9 .github/workflows/issue-labeler: fix escaping 2022-10-27 23:18:54 +09:00
Hajime Hoshi
ced03589cc .github/workflows/issue-labeler: update 2022-10-27 23:01:27 +09:00
Hajime Hoshi
49b28f4547 .github/workflows/issue-labeler: update 2022-10-27 22:56:49 +09:00
Nathan Levett
0c38ca3760
.github: issues and pr templates and labeler workflow (#2414)
Closes #2405
2022-10-27 17:24:28 +09:00
Hajime Hoshi
52c8353169 .github/workflows: run govulncheck
Closes #2413
2022-10-27 15:40:56 +09:00
Hajime Hoshi
c54f60c3a7 .github/workflows: use a version suffix for go-install 2022-10-27 14:04:35 +09:00
Hajime Hoshi
a031389275 .github/workflows/site: update the redirection 2022-09-23 19:30:59 +09:00
Hajime Hoshi
a347b618e0 .github/workflows/vettools: typo 2022-09-18 18:24:53 +09:00
Hajime Hoshi
8d5f5a17d4 .github/workflows/vettools: fix import paths 2022-09-18 17:46:03 +09:00
Hajime Hoshi
4865f0a3da .github/workflows/vettools: add mroe analysis 2022-09-18 17:41:49 +09:00
Hajime Hoshi
2f222433c0 .github/workflows/vettools: update the Go version in go.mod 2022-09-18 17:38:34 +09:00
Hajime Hoshi
08d54e9751 .github/workflows/vettools: add a static analysis for image importing
Updates #2336
Closes #2337
2022-09-18 17:21:47 +09:00
Hajime Hoshi
86706c0335 internal/graphicsdriver/opengl: add opengles build tag
This enables to use OpenGL ES instead of OpenGL.

Closes #292
2022-09-13 11:10:48 -07:00
Hajime Hoshi
49e2254e79 .github/workflows: drop Go 1.15 support
Updates #2323
2022-09-13 23:35:47 +09:00
Hajime Hoshi
aa055ea800 .github/workflows: run static analysis on Windows
This condition was accidentally introduced at e505098e55.

Updates #2287
2022-09-10 13:23:02 +09:00
Hajime Hoshi
fccb43e15b internal/graphicsdriver/directx: remove .errcheck_excludes_windows
These DirectX functions don't return any value and should not affect
the last error. Then it should be fine to ignore the returning values
from syscall.Syscall*.

Updates #2287
2022-09-10 03:03:18 +09:00
Hajime Hoshi
3253726963 .github/workflows/vettools: add go.mod for the tool 2022-09-10 02:02:19 +09:00
Terra Brown
a1cc44833d
add errcheck static analysis (#2293)
Closes #2287
2022-09-10 01:52:46 +09:00
Hajime Hoshi
62127e432e bug fix: go mod vendor didn't work
Closes #2036
Closes ebitengine/purego#31
2022-09-05 17:25:03 +09:00
Hajime Hoshi
5781943833 .github/workflows: bug fix: wrong directory name 2022-09-01 17:16:13 +09:00
Hajime Hoshi
342e90ea29 .github/workflows: move 'docs' to '.github/workflows/site' 2022-09-01 17:14:24 +09:00
Hajime Hoshi
5d6e9cc57e
.github/workflows: deploy GitHub pages from Actions 2022-09-01 17:10:37 +09:00
Hajime Hoshi
7f397c99b0 .github/workflows: use cache at setup-go
Updates #2288
2022-09-01 16:04:28 +09:00
Hajime Hoshi
d20a1b07a5 .github/workflows: add Windows ARM build tests 2022-08-30 11:42:11 +09:00
Hajime Hoshi
22c2cdc2d4 Revert ".github/workflows: add ARM Windows test"
This reverts commit 82e9b42c4f.

Reason: test failures: an old Go doesn't support windows/arm or windows/arm64
2022-08-30 03:54:36 +09:00
Hajime Hoshi
82e9b42c4f .github/workflows: add ARM Windows test 2022-08-30 03:52:31 +09:00
Hajime Hoshi
c9de6be572 .github/workflows: enable Wasm test on Windows
Probably #2274 changed the situation.

Closes #1313
2022-08-28 13:38:28 +09:00
Hajime Hoshi
6e2fb46625 .github/workflows: enable Wasm tests for Go 1.15 and 1.16
These were disabled at 0c1449de5e
but not reverted appropriately.
2022-08-28 12:52:59 +09:00
Hajime Hoshi
ec68534c73 internal/graphicsdriver/opengl: introduce EBITENGINE_OPENGL replacing ebitenginewebgl1
This change inroduces a new environment variable `EBITENGINE_OPENGL`
to replace the build tag `ebitenginewebgl1`.
2022-08-28 01:45:58 +09:00
Hajime Hoshi
313c70f4b4 internal/graphicsdriver/directx: support 32bit Windows
Closes #2088
2022-08-28 00:04:55 +09:00
Hajime Hoshi
0587a45c61 .github/workflows: enable -shuffle on browsers
Closes #2273
2022-08-27 20:29:37 +09:00
Hajime Hoshi
f8395e234a .github/workflows: bug fix: NintendoSDK is available only with GOOS=linux 2022-08-18 12:23:36 +09:00
Hajime Hoshi
3f4e3ef41f .github/workflows: fix the build tag name for NintendoSDK
Updates #2242
2022-08-18 03:44:42 +09:00
Hajime Hoshi
c3c4a5e9b7 .github/workflows: always use the latest version of Go on the Steam bot 2022-08-18 02:07:10 +09:00
Hajime Hoshi
78ad9f9c30 .github/workflows: update Go version for Steam 2022-08-18 01:47:26 +09:00
Hajime Hoshi
5bf1934a70 .github/workflow: update for Go 1.19 2022-08-03 02:15:32 +09:00
Hajime Hoshi
1467772ca3 .github/workflow: specify Android NDK version explicitly
Updates #2085
Closes #2226
2022-08-03 02:05:24 +09:00
Hajime Hoshi
0c5adb95c7 .github/workflow: add Go 1.19 for the test 2022-07-25 00:00:55 +09:00
Hajime Hoshi
28fd3ec9e5 add the ebitengine version build tags besides the ebiten version
Closes #2111
Updates #2190
2022-07-09 15:38:03 +09:00
Hajime Hoshi
428b1263d9 add ebitenginecbackend build tag besides ebitencbackend
Updates #2111
Updates #2190
2022-07-09 15:23:52 +09:00
Hajime Hoshi
c2251d49b5 .github/workflows: add -l to -gcflags 2022-06-04 17:45:59 +09:00
Hajime Hoshi
1fa5696c91 .github/workflows: add a building test without optimization to check potential stack overflow 2022-06-04 17:24:46 +09:00
Hajime Hoshi
bd2a31bdd8 internal/glfwwin: remove unnecessary comments 2022-05-20 23:17:03 +09:00
Hajime Hoshi
58c871df38 .github/workflow: remove warnings 2022-05-20 20:57:07 +09:00
Hajime Hoshi
8941aea249 .github/workflow add tests for GOARCH=386
Closes #2097
2022-05-20 20:56:01 +09:00
Hajime Hoshi
cf914bfe00 .github/workflows: update actions/setup-go to v3 2022-05-01 17:55:37 +09:00
Hajime Hoshi
e1a3f12e68 .github/workflows: add a test for GOARCH=arm64 for macOS
Closes #1790
2022-03-26 23:07:34 +09:00
Hajime Hoshi
79e93d3b12 internal/graphicsdriver: introduce the DirectX driver
Closes #1007
2022-03-26 20:09:34 +09:00
Hajime Hoshi
839e442412 .github/workflow: add a test for internal/shader on Windows
This also required to configure Git for Windows.
2022-03-18 21:43:09 +09:00
Hajime Hoshi
f60134bf6a .github/workflow: bug fix 2022-03-18 19:46:03 +09:00
Hajime Hoshi
cdd46912dc .github/workflow: clean up the YAML 2022-03-18 19:45:14 +09:00
Hajime Hoshi
c3b712a54e add Go 1.18 for testing 2022-03-16 03:00:22 +09:00
Hajime Hoshi
2c68124f0e .github/workflow: fix syntax error 2022-02-13 17:09:52 +09:00
Hajime Hoshi
ab1ad2c72f .github/workflow: add a test to build with the build tag ebitencbackend 2022-02-13 16:57:48 +09:00
Hajime Hoshi
116203c5a5 cmd/ebitenmobile: update gomobile version (reland)
This switches from .framework to .xcframwork for iOS.

Closes #1922
2022-01-05 17:31:46 +09:00
Hajime Hoshi
ea1bc76ef2 Revert "cmd/ebitenmobile: update gomobile version"
This reverts commit f2e19f9fe5 and b065b64f4f

Reason: building iOS framework fails

Updates #1922
2022-01-05 02:24:02 +09:00
Hajime Hoshi
b065b64f4f .github/workflows: bug fix: ebitenmobile generates .xcframework 2022-01-05 02:09:46 +09:00
Hajime Hoshi
4c42e70e69 .github/workflows: use the web hook for builds.sr.ht instead of web APIs
There is an intentional limitation in builds.sr.ht and only up to 4 VMs work
at the same time. Users have to follow this rule.

Updates #1664
2021-12-15 02:54:16 +09:00
Hajime Hoshi
fa46d68199 .github/workflows: Always use the latest public beta of Steam SDK 2021-10-27 03:40:25 +09:00
Hajime Hoshi
0d9a165e8f .github/workflows/sourcehutmanifests: glfw is no longer needed on FreeBSD
There was an issue that go-gl/glfw requried an external GLFW go-gl/glfw#313,
and this was fixed.
2021-10-24 15:31:47 +09:00
Hajime Hoshi
bbe793af5b .github/workflows/sourcehutmanifests: Fix the library order for consistency 2021-10-16 05:02:27 +09:00
Hajime Hoshi
c4ba9b8b2e .github/workflows: Add FreeBSD 2021-10-16 04:58:14 +09:00
Hajime Hoshi
5e21ebd4bc .github/workflows/sourcehutmanifests: Add FreeBSD 2021-10-16 04:54:53 +09:00