detached 4c3273e

.github/workflows: reorder tests (#256)

This change also removes unneeded space chars.
commit
4c3273e2bc2eb3837d50f388d7853dacc935bad0
author
Hajime Hoshi · · 2024-06-20 12:06 UTC
committer
GitHub · · 2024-06-20 12:06 UTC
parent
573eba0
signature
GPG UnverifiedB5690EEEBB952194 The key is unknown
1 file · +10 -10
M .github/workflows/test.yml +10 -10
@@ -39,12 +39,6 @@ jobs:
3939 run: |
4040 go vet -v ./...
4141
42- - name: go build plugin
43- if: runner.os == 'Linux' || runner.os == 'macOS'
44- run:
45- # Make sure that plugin buildmode works since we save the R15 register (#254)
46- go build -buildmode=plugin ./examples/libc
47-
4842 - name: go build
4943 run: |
5044 go build -v ./...
@@ -73,6 +67,12 @@ jobs:
7367 env GOOS=freebsd GOARCH=amd64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
7468 env GOOS=freebsd GOARCH=arm64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
7569
70+ - name: go build (plugin)
71+ if: runner.os == 'Linux' || runner.os == 'macOS'
72+ run:
73+ # Make sure that plugin buildmode works since we save the R15 register (#254)
74+ go build -buildmode=plugin ./examples/libc
75+
7676 - name: go mod vendor
7777 if: runner.os != 'Linux'
7878 run: |
@@ -158,10 +158,6 @@ jobs:
158158
159159 # verify Go is available
160160 go version
161-
162- echo "=> go build plugin"
163- # Make sure that plugin buildmode works since we save the R15 register (#254)
164- go build -buildmode=plugin ./examples/libc
165161
166162 echo "=> go build"
167163 go build -v ./...
@@ -188,6 +184,10 @@ jobs:
188184 env GOOS=freebsd GOARCH=amd64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
189185 env GOOS=freebsd GOARCH=arm64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
190186
187+ echo "=> go build (plugin)"
188+ # Make sure that plugin buildmode works since we save the R15 register (#254)
189+ go build -buildmode=plugin ./examples/libc
190+
191191 echo "=> go mod vendor"
192192 mkdir /tmp/vendoring
193193 cd /tmp/vendoring
@@ -39,12 +39,6 @@ jobs:
39 run: |39 run: |
40 go vet -v ./...40 go vet -v ./...
41 41
42- - name: go build plugin
43- if: runner.os == 'Linux' || runner.os == 'macOS'
44- run:
45- # Make sure that plugin buildmode works since we save the R15 register (#254)
46- go build -buildmode=plugin ./examples/libc
47-
48 - name: go build42 - name: go build
49 run: |43 run: |
50 go build -v ./...44 go build -v ./...
@@ -73,6 +67,12 @@ jobs:
73 env GOOS=freebsd GOARCH=amd64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...67 env GOOS=freebsd GOARCH=amd64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
74 env GOOS=freebsd GOARCH=arm64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...68 env GOOS=freebsd GOARCH=arm64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
75 69
70+ - name: go build (plugin)
71+ if: runner.os == 'Linux' || runner.os == 'macOS'
72+ run:
73+ # Make sure that plugin buildmode works since we save the R15 register (#254)
74+ go build -buildmode=plugin ./examples/libc
75+
76 - name: go mod vendor76 - name: go mod vendor
77 if: runner.os != 'Linux'77 if: runner.os != 'Linux'
78 run: |78 run: |
@@ -158,10 +158,6 @@ jobs:
158 158
159 # verify Go is available159 # verify Go is available
160 go version160 go version
161-
162- echo "=> go build plugin"
163- # Make sure that plugin buildmode works since we save the R15 register (#254)
164- go build -buildmode=plugin ./examples/libc
165 161
166 echo "=> go build"162 echo "=> go build"
167 go build -v ./...163 go build -v ./...
@@ -188,6 +184,10 @@ jobs:
188 env GOOS=freebsd GOARCH=amd64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...184 env GOOS=freebsd GOARCH=amd64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
189 env GOOS=freebsd GOARCH=arm64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...185 env GOOS=freebsd GOARCH=arm64 go build -gcflags="github.com/ebitengine/purego/internal/fakecgo=-std" -v ./...
190 186
187+ echo "=> go build (plugin)"
188+ # Make sure that plugin buildmode works since we save the R15 register (#254)
189+ go build -buildmode=plugin ./examples/libc
190+
191 echo "=> go mod vendor"191 echo "=> go mod vendor"
192 mkdir /tmp/vendoring192 mkdir /tmp/vendoring
193 cd /tmp/vendoring193 cd /tmp/vendoring

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close