From 5cf6c53418f569665ce515ba60fdec89ec3345b9 Mon Sep 17 00:00:00 2001 From: nanoslayer <67448658+nanoslayer@users.noreply.github.com> Date: Mon, 27 Jul 2020 03:20:44 +0000 Subject: [PATCH] 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 --- .builds/alpine.yml | 17 +++++++++++++++++ .builds/arch.yml | 16 ++++++++++++++++ .builds/debian.yml | 19 +++++++++++++++++++ .builds/fedora.yml | 18 ++++++++++++++++++ .builds/ubuntu.yml | 19 +++++++++++++++++++ 5 files changed, 89 insertions(+) create mode 100644 .builds/alpine.yml create mode 100644 .builds/arch.yml create mode 100644 .builds/debian.yml create mode 100644 .builds/fedora.yml create mode 100644 .builds/ubuntu.yml diff --git a/.builds/alpine.yml b/.builds/alpine.yml new file mode 100644 index 000000000..6195b53d0 --- /dev/null +++ b/.builds/alpine.yml @@ -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 diff --git a/.builds/arch.yml b/.builds/arch.yml new file mode 100644 index 000000000..95c9cf50f --- /dev/null +++ b/.builds/arch.yml @@ -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 diff --git a/.builds/debian.yml b/.builds/debian.yml new file mode 100644 index 000000000..cad55b80c --- /dev/null +++ b/.builds/debian.yml @@ -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 diff --git a/.builds/fedora.yml b/.builds/fedora.yml new file mode 100644 index 000000000..df74d83b9 --- /dev/null +++ b/.builds/fedora.yml @@ -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 diff --git a/.builds/ubuntu.yml b/.builds/ubuntu.yml new file mode 100644 index 000000000..8c6f5a832 --- /dev/null +++ b/.builds/ubuntu.yml @@ -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