ci: refresh apt index, add downstream bindings job, clarify README tagline
- commit
- 294942a10b23a8cc70f04e5afae90656944d8e84
- author
- brice · · 2026-10-01 05:55 UTC
- parent
- 4ced4ef
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
2 files · +30 -2
M .github/workflows/ci.yml +29 -1
| @@ -12,6 +12,34 @@ jobs: | |||
| 12 | 12 | - uses: actions/setup-go@v5 | |
| 13 | 13 | with: | |
| 14 | 14 | go-version: '1.27' | |
| 15 | - | - run: sudo apt-get install -y libwayland-server0 | |
| 15 | + | - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libwayland-server0 | |
| 16 | 16 | - run: make check | |
| 17 | 17 | - run: make race | |
| 18 | + | ||
| 19 | + | bindings: | |
| 20 | + | runs-on: ubuntu-latest | |
| 21 | + | permissions: | |
| 22 | + | contents: read | |
| 23 | + | steps: | |
| 24 | + | - uses: actions/checkout@v4 | |
| 25 | + | with: | |
| 26 | + | path: purego-libwayland | |
| 27 | + | persist-credentials: false | |
| 28 | + | - uses: actions/checkout@v4 | |
| 29 | + | with: | |
| 30 | + | repository: bnema/go-wayland-bindings | |
| 31 | + | ref: main | |
| 32 | + | path: bindings | |
| 33 | + | persist-credentials: false | |
| 34 | + | - uses: actions/setup-go@v5 | |
| 35 | + | with: | |
| 36 | + | go-version-file: bindings/go.mod | |
| 37 | + | - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libwayland-server0 | |
| 38 | + | - name: Build and test go-wayland-bindings against this checkout | |
| 39 | + | working-directory: bindings | |
| 40 | + | run: | | |
| 41 | + | go mod edit -replace github.com/bnema/purego-libwayland=../purego-libwayland | |
| 42 | + | go mod tidy | |
| 43 | + | CGO_ENABLED=0 go build ./... | |
| 44 | + | go vet ./server/... | |
| 45 | + | CGO_ENABLED=0 go test ./server/... ./internal/e2e/... | |
| @@ -12,6 +12,34 @@ jobs: | |||||
| 12 | - uses: actions/setup-go@v5 | 12 | - uses: actions/setup-go@v5 | ||
| 13 | with: | 13 | with: | ||
| 14 | go-version: '1.27' | 14 | go-version: '1.27' | ||
| 15 | - | - run: sudo apt-get install -y libwayland-server0 | 15 | + | - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libwayland-server0 |
| 16 | - run: make check | 16 | - run: make check | ||
| 17 | - run: make race | 17 | - run: make race | ||
| 18 | + | ||||
| 19 | + | bindings: | |||
| 20 | + | runs-on: ubuntu-latest | |||
| 21 | + | permissions: | |||
| 22 | + | contents: read | |||
| 23 | + | steps: | |||
| 24 | + | - uses: actions/checkout@v4 | |||
| 25 | + | with: | |||
| 26 | + | path: purego-libwayland | |||
| 27 | + | persist-credentials: false | |||
| 28 | + | - uses: actions/checkout@v4 | |||
| 29 | + | with: | |||
| 30 | + | repository: bnema/go-wayland-bindings | |||
| 31 | + | ref: main | |||
| 32 | + | path: bindings | |||
| 33 | + | persist-credentials: false | |||
| 34 | + | - uses: actions/setup-go@v5 | |||
| 35 | + | with: | |||
| 36 | + | go-version-file: bindings/go.mod | |||
| 37 | + | - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libwayland-server0 | |||
| 38 | + | - name: Build and test go-wayland-bindings against this checkout | |||
| 39 | + | working-directory: bindings | |||
| 40 | + | run: | | |||
| 41 | + | go mod edit -replace github.com/bnema/purego-libwayland=../purego-libwayland | |||
| 42 | + | go mod tidy | |||
| 43 | + | CGO_ENABLED=0 go build ./... | |||
| 44 | + | go vet ./server/... | |||
| 45 | + | CGO_ENABLED=0 go test ./server/... ./internal/e2e/... | |||
M README.md +1 -1
| @@ -1,6 +1,6 @@ | |||
| 1 | 1 | # purego-libwayland | |
| 2 | 2 | ||
| 3 | - | Go bindings for libwayland without cgo, loaded at runtime through github.com/bnema/purego. | |
| 3 | + | Go bindings for libwayland-server without cgo, loaded at runtime through github.com/bnema/purego. | |
| 4 | 4 | ||
| 5 | 5 | ## Status | |
| 6 | 6 | ||
| @@ -1,6 +1,6 @@ | |||||
| 1 | # purego-libwayland | 1 | # purego-libwayland | ||
| 2 | 2 | ||||
| 3 | - | Go bindings for libwayland without cgo, loaded at runtime through github.com/bnema/purego. | 3 | + | Go bindings for libwayland-server without cgo, loaded at runtime through github.com/bnema/purego. |
| 4 | 4 | ||||
| 5 | ## Status | 5 | ## Status | ||
| 6 | 6 | ||||