Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: build package
on:
push:
jobs:
build:
name: Universal build ${{matrix.arch}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- arch: amd64
- arch: armhf
env:
ARCH: ${{ matrix.arch }}
steps:
- name: checkout
uses: actions/checkout@v2
with:
lfs: true
- name: install build tools
run: >
sudo apt-get -qqy install
build-essential
autoconf
automake
libtool

- name: install crosscompilation tools
if: ${{ matrix.arch == 'armhf' }}
run: |
sudo dpkg --add-architecture armhf
sudo apt-get -qqy update
sudo apt-get -qqy install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf qemu-user qemu-user-binfmt
echo 'CC=arm-linux-gnueabihf-gcc' >> $GITHUB_ENV
echo 'CXX=arm-linux-gnueabihf-g++' >> $GITHUB_ENV
echo 'QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf' >> $GITHUB_ENV
- name: install libraries
run: >
sudo apt-get -qqy install
libavcodec-dev:${{ matrix.arch }}
libavformat-dev:${{ matrix.arch }}
libavutil-dev:${{ matrix.arch }}
libsdl2-dev:${{ matrix.arch }}
libsystemd-dev:${{ matrix.arch }}
libx264-dev:${{ matrix.arch }}
liblzma-dev:${{ matrix.arch }}


- name: configure
run: |
CPPFLAGS=-DDEBUG ./configure --enable-seamless --enable-dbus --enable-capacity=100 --enable-crossfade --disable-modules
- name: make
run: |
make

- uses: actions/upload-artifact@v2
with:
name: AppImages
path: |
stingray
retention-days: 1
11 changes: 0 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ Makefile
/test_stingray
/benchmark


vendor/libltdl


debian/stingray
debian/*.substvars
debian/.debhelper
Expand All @@ -33,24 +29,17 @@ debian/tmp
debian/stingray-module*

# http://www.gnu.org/software/automake

Makefile.in

# http://www.gnu.org/software/autoconf

/autom4te.cache
/aclocal.m4
/compile
/config.h.in
/config.h
/config.status
/configure
/configure.scan
/depcomp
/install-sh
/missing
/stamp-h1
/build-aux
/libtool

# Visual Studio code
Expand Down
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

Loading