Add build manifests for various Linux distributions (#1257)

This change adds various build manifests that will be used by sourcehut builds.
It tests the installation of Ebiten on the following distros:

* Alpine Linux
* Arch Linux
* Debian
* Fedora
* Ubuntu

Fixes #1147
This commit is contained in:
nanoslayer 2020-07-27 03:20:44 +00:00 committed by GitHub
parent 52a5ea2d44
commit 5cf6c53418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 89 additions and 0 deletions

17
.builds/alpine.yml Normal file
View File

@ -0,0 +1,17 @@
image: alpine/latest
packages:
- alsa-lib-dev
- libx11-dev
- libxrandr-dev
- libxcursor-dev
- libxinerama-dev
- libxi-dev
- mesa-dev
- pkgconf
- go
sources:
- https://github.com/hajimehoshi/ebiten
tasks:
- build: |
cd ebiten
go build . ./audio

16
.builds/arch.yml Normal file
View File

@ -0,0 +1,16 @@
image: archlinux
packages:
- alsa-lib
- mesa
- libxrandr
- libxcursor
- libxinerama
- libxi
- pkg-config
- go
sources:
- https://github.com/hajimehoshi/ebiten
tasks:
- build: |
cd ebiten
go build . ./audio

19
.builds/debian.yml Normal file
View File

@ -0,0 +1,19 @@
image: debian/testing
packages:
- libc6-dev
- libglu1-mesa-dev
- libgl1-mesa-dev
- libxcursor-dev
- libxi-dev
- libxinerama-dev
- libxrandr-dev
- libxxf86vm-dev
- libasound2-dev
- pkg-config
- golang
sources:
- https://github.com/hajimehoshi/ebiten
tasks:
- build: |
cd ebiten
go build . ./audio

18
.builds/fedora.yml Normal file
View File

@ -0,0 +1,18 @@
image: fedora/rawhide
packages:
- mesa-libGLU-devel
- mesa-libGLES-devel
- libXrandr-devel
- libXcursor-devel
- libXinerama-devel
- libXi-devel
- libXxf86vm-devel
- alsa-lib-devel
- pkg-config
- go
sources:
- https://github.com/hajimehoshi/ebiten
tasks:
- build: |
cd ebiten
go build . ./audio

19
.builds/ubuntu.yml Normal file
View File

@ -0,0 +1,19 @@
image: ubuntu/lts
packages:
- libc6-dev
- libglu1-mesa-dev
- libgl1-mesa-dev
- libxcursor-dev
- libxi-dev
- libxinerama-dev
- libxrandr-dev
- libxxf86vm-dev
- libasound2-dev
- pkg-config
- golang
sources:
- https://github.com/hajimehoshi/ebiten
tasks:
- build: |
cd ebiten
go build . ./audio