mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
parent
0fd630100f
commit
e1a3f12e68
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -85,6 +85,16 @@ jobs:
|
||||
env GOOS=windows GOARCH=amd64 go build -tags=example -v ./...
|
||||
env GOOS=windows GOARCH=386 go build -tags=example -v ./...
|
||||
|
||||
- name: go build (macOS)
|
||||
if: ${{ startsWith(matrix.os, 'macos-') && !startsWith(matrix.go, '1.15.') }}
|
||||
run: |
|
||||
env CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -tags=example -v ./...
|
||||
env CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -tags=example -o flappy_amd64 -v ./examples/flappy
|
||||
env CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -tags=example -o flappy_arm64 -v ./examples/flappy
|
||||
lipo -create flappy_amd64 flappy_arm64 -output flappy
|
||||
file flappy
|
||||
rm flappy
|
||||
|
||||
- name: go build (cbackend)
|
||||
if: ${{ !startsWith(matrix.os, 'windows-') }}
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user