Skip to content

Commit

Permalink
.github/workflows: reorder tests (#256)
Browse files Browse the repository at this point in the history
This change also removes unneeded space chars.
  • Loading branch information
hajimehoshi authored Jun 20, 2024
1 parent 573eba0 commit 4c3273e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ jobs:
run: |
go vet -v ./...
- name: go build plugin
if: runner.os == 'Linux' || runner.os == 'macOS'
run:
# Make sure that plugin buildmode works since we save the R15 register (#254)
go build -buildmode=plugin ./examples/libc

- name: go build
run: |
go build -v ./...
Expand Down Expand Up @@ -73,6 +67,12 @@ jobs:
env GOOS=freebsd GOARCH=amd64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
env GOOS=freebsd GOARCH=arm64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
- name: go build (plugin)
if: runner.os == 'Linux' || runner.os == 'macOS'
run:
# Make sure that plugin buildmode works since we save the R15 register (#254)
go build -buildmode=plugin ./examples/libc

- name: go mod vendor
if: runner.os != 'Linux'
run: |
Expand Down Expand Up @@ -158,10 +158,6 @@ jobs:
# verify Go is available
go version
echo "=> go build plugin"
# Make sure that plugin buildmode works since we save the R15 register (#254)
go build -buildmode=plugin ./examples/libc
echo "=> go build"
go build -v ./...
Expand All @@ -188,6 +184,10 @@ jobs:
env GOOS=freebsd GOARCH=amd64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
env GOOS=freebsd GOARCH=arm64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
echo "=> go build (plugin)"
# Make sure that plugin buildmode works since we save the R15 register (#254)
go build -buildmode=plugin ./examples/libc
echo "=> go mod vendor"
mkdir /tmp/vendoring
cd /tmp/vendoring
Expand Down

0 comments on commit 4c3273e

Please sign in to comment.