|
|
|
version: 2
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
fedora:
|
|
|
|
docker:
|
|
|
|
- image: fedora
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: dnf install -y pkg-config ragel gcc gcc-c++ automake autoconf libtool make which glib2-devel freetype-devel || true
|
|
|
|
- run: ./autogen.sh && make && make check
|
|
|
|
|
|
|
|
freebsd9:
|
|
|
|
docker:
|
|
|
|
- image: donbowman/freebsd-cross-build
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install -y pkg-config ragel
|
|
|
|
- run: ./autogen.sh --prefix=/freebsd --host=x86_64-pc-freebsd9 && make
|
|
|
|
|
|
|
|
base:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/base
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
|
|
|
- run: cmake -Bbuild -H. -GNinja && ninja -Cbuild
|
|
|
|
|
|
|
|
psvita:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/base
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
|
|
|
- run: git clone https://github.com/vitasdk/vdpm && cd vdpm && ./bootstrap-vitasdk.sh
|
|
|
|
- run: cmake -Bbuild -H. -GNinja -DCMAKE_TOOLCHAIN_FILE=/usr/local/vitasdk/share/vita.toolchain.cmake && ninja -Cbuild
|
|
|
|
|
|
|
|
android-arm:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/android-arm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
|
|
|
- run: cmake -Bbuild -H. -GNinja && ninja -Cbuild
|
|
|
|
|
|
|
|
browser-asmjs:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/browser-asmjs
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
|
|
|
- run: cmake -Bbuild -H. -GNinja && ninja -Cbuild
|
|
|
|
|
|
|
|
linux-arm64:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/linux-arm64
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
|
|
|
- run: cmake -Bbuild -H. -GNinja && ninja -Cbuild
|
|
|
|
|
|
|
|
linux-mips:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/linux-mips
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
|
|
|
- run: cmake -Bbuild -H. -GNinja && ninja -Cbuild
|
|
|
|
|
|
|
|
windows-x64:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/windows-x64
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
|
|
|
- run: cmake -Bbuild -H. -GNinja && ninja -Cbuild
|
|
|
|
|
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
build:
|
|
|
|
jobs:
|
|
|
|
- fedora
|
|
|
|
- freebsd9
|
|
|
|
- base
|
|
|
|
- psvita
|
|
|
|
- android-arm
|
|
|
|
- browser-asmjs
|
|
|
|
- linux-arm64
|
|
|
|
- linux-mips
|
|
|
|
- windows-x64
|