Skip to content

Commit

Permalink
multios-build changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster committed Mar 29, 2021
1 parent 2d1cd8a commit e98c0d6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 21 deletions.
7 changes: 4 additions & 3 deletions .devcontainer/Dockerfile.orkaudio.build
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# escape=`
ARG TAG=xenial

FROM ubuntu:xenial
FROM ubuntu:$TAG

# Configure apt
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y build-essential libtool automake git tree rpm libboost-dev libboost-all-dev`
libpcap-dev libsndfile1-dev libapr1-dev libspeex-dev liblog4cxx10-dev libace-dev `
libopus-dev libxerces-c3.1 libxerces-c3-dev libssl-dev cmake megatools`
libpcap-dev libsndfile1-dev libapr1-dev libspeex-dev liblog4cxx-dev libace-dev `
libopus-dev libxerces-c3-dev libssl-dev cmake`
&& rm -rf /var/lib/apt/lists/*

#silk
Expand Down
44 changes: 26 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
sudo: true
os: linux
dist: xenial
language: shell
addons:
apt:
packages:
- docker-ce
- tree
- rename
services:
- docker
branches:
Expand All @@ -18,27 +20,33 @@ cache:
directories:
- $HOME/docker_images

matrix:
include:
- language: shell
before_install:
- docker load -i $HOME/docker_images/images.tar || true
- git clone https://github.com/voiceip/oreka-build.git $HOME/oreka-build
- docker build -t oreka -f .devcontainer/Dockerfile.orkaudio.build .
script:
- docker run -v "$HOME/oreka-build":/oreka-build -v "$TRAVIS_BUILD_DIR":/oreka-src -i oreka bash /entrypoint.sh
- ls -ltrah $HOME/oreka-build/distribution
before_cache:
- docker save -o $HOME/docker_images/images.tar $(docker images -a -q)
- language: java
dist: trusty
jdk: oraclejdk8
script:
- mvn clean install -DskipTests=true
env:
- OS_TAG=xenial
- OS_TAG=focal

jobs:
- language: java
dist: trusty
jdk: oraclejdk8
script:
- mvn clean install -DskipTests=true

before_install:
- docker load -i $HOME/docker_images/images.tar || true
- git clone https://github.com/voiceip/oreka-build.git $HOME/oreka-build
- docker build -t oreka-$OS_TAG --build-arg TAG="$OS_TAG" -f .devcontainer/Dockerfile.orkaudio.build .
script:
- docker run -v "$HOME/oreka-build":/oreka-build -v "$TRAVIS_BUILD_DIR":/oreka-src -i "oreka-$OS_TAG" bash /entrypoint.sh
- ls -ltrah $HOME/oreka-build/distribution
- rename "s/(.*)\.deb/$1_$OS_TAG.deb/" $HOME/oreka-build/distribution/*
- ls -ltrah $HOME/oreka-build/distribution

before_cache:
- docker save -o $HOME/docker_images/images.tar $(docker images -a -q)

deploy:
provider: releases
api_key:
token:
secure: "M4odEjSv9Hj8BoMCkc10DRJmA+FVrWrbwKt4vHVy04WVUonwZo5/31UsUJgDYMV+SnRazTDDTfhjFuWbWaKkNUgVm42Ddz1sQdiOg5/3DXUHI6hAM3HKpiO5f2MgMGbHtga1l4VqMbDJhQEGl8StsQq64tXwcHCGHykX7F0ZPJx/QPy8VEfFZ330i3J4tl36jS7pE5LsVUzfzfoMp0aruM1lpg9BJXW0CcI7+0wZTxLrgziWnk6r0DSltDvbVkeWDE8Ol+51CfxIlwatEfTj3R5xx1XvRFUumLm/w4hal19Thi5Owag6kTtP6wmcYnd+UA1awpe6NZZlRr3Tdly67Pduh/B5BT7cLGGuOw55KaPk9ZPM5omQptp5hVhxw2xMg7tLyqh30nxXZaH4/maXp9RJmr7o1gRKmv6Fe0mthcaO+AtOCPZy6Rwe285ZdhP0pbnBRA6qHNPUn5zagsDunEtvchU5TfRkdx7Lw01kqtgQaZP2PwraG9JQf3HoUIyM1pwMVlXqao3CFVbbsebobIUrqZqcdAwXmVTt4O+4FMCwJohGSI3Hk8/XPKypXl+yY91UAF82Kc4lVnXp7CvhJpEx+7eP8dW16cHwwwU1QLJ/xJMLXRNgOZO+4XqlicKCaK7yi551nJqwHIPGhu20465E4BD6BrlKVuIv072Y9HU="
file_glob: true
file:
Expand Down

0 comments on commit e98c0d6

Please sign in to comment.