~eliasnaur/gio

ref: 2f8833d985df8be444b4a8968b59448c538ec3cc gio/.builds/linux.yml -rw-r--r-- 1.6 KiB
2f8833d9Elias Naur app/internal/window: [X11] avoid -d=checkptr check failures 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
image: debian/testing
packages:
 - curl
 - pkg-config
 - libwayland-dev
 - libx11-dev
 - libx11-xcb-dev
 - libxkbcommon-dev
 - libxkbcommon-x11-dev
 - libgles2-mesa-dev
 - libegl1-mesa-dev
 - libxcursor-dev
 - libxrandr-dev
 - libxinerama-dev
 - libxi-dev
 - libxxf86vm-dev
 - wine
 - xvfb
 - xdotool
 - scrot
 - sway
 - grim
 - wine
sources:
 - https://git.sr.ht/~eliasnaur/gio
secrets:
 - 0dd5efdf-400e-4735-8320-98b44844dfd0
environment:
 GOFLAGS: -mod=readonly
 PATH: /home/build/sdk/go/bin:/usr/bin
tasks:
 - install_go1_14: |
     mkdir -p /home/build/sdk
     curl https://dl.google.com/go/go1.14.linux-amd64.tar.gz | tar -C /home/build/sdk -xzf -
 - install_chrome: |
     curl -s https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
     sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
     sudo apt update
     sudo apt install -y google-chrome-stable
 - test_gio: |
     cd gio
     go test -race ./...
     GOOS=windows go test -exec=wine ./...
     GOOS=js GOARCH=wasm go build -o /dev/null ./...
 - test_cmd: |
     cd gio/cmd
     go test ./...
     go test -race ./...
     cd gogio # since we need -modfile to point at the parent directory
     GOFLAGS=-modfile=../go.local.mod go test
 - test_example: |
     cd gio/example
     go test -race ./...
 - check_gofmt: |
     cd gio
     test -z "$(gofmt -s -l .)"
 - annotate: |
     go get git.sr.ht/~sircmpwn/annotatego
     cd gio
     ~/go/bin/annotatego -v -T gioui.org... > annotations.json
     ../upload-annotations annotations.json eliasnaur gio