forked from google/sagetv
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 1007 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: SageTV CI GitHub Actions
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
# runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up Oracle JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: gradle
- name: Update apt
run: sudo apt-get update -qq
- name: Install packages from apt
run: sudo apt-get install -y unzip build-essential git libx11-dev libxt-dev libraw1394-dev libavc1394-dev libiec61883-dev libfreetype6-dev yasm autoconf libtool libaudio-dev libpulse-dev libasound-dev
- name: Build everything
run: export JDK_HOME=$JAVA_HOME && export JAVA_ARCH=amd64 && cd build && ./buildall.sh && cd ..
- name: Deploy if release build and push
run: build/deploy.sh
env:
OPENSAGETV_TOKEN: ${{ secrets.opensagetv_token }}
PULL_REQUEST: ${{ github.event.number }}