-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d13e9d
commit 36c55d9
Showing
12 changed files
with
87 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM deadbeef-builder-player-clang-20.04 | ||
|
||
WORKDIR /usr/src/deadbeef | ||
COPY . /usr/src/deadbeef | ||
ENV TRAVIS_OS_NAME=linux | ||
|
||
RUN rm -rf m4 | ||
RUN rm ltmain.sh | ||
CMD [ "bash", "travis/build.sh", "--clang" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM ubuntu:focal | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get -qq update | ||
RUN apt-get install -y -qq autopoint automake autoconf intltool libc6-dev yasm libglib2.0-dev-bin perl wget zip bzip2 make libtool pkg-config fakeroot clang libblocksruntime-dev libdispatch-dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM deadbeef-builder-player-clang-20.04 | ||
|
||
WORKDIR /usr/src/deadbeef | ||
COPY . /usr/src/deadbeef | ||
ENV TRAVIS_OS_NAME=linux | ||
|
||
RUN apt-get -qq update | ||
RUN apt-get install -y -qq libjansson-dev | ||
|
||
RUN rm -rf m4 | ||
RUN rm ltmain.sh | ||
RUN ./autogen.sh | ||
RUN CC=clang CXX=clang++ ./configure | ||
RUN CC=clang CXX=clang++ make distcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM ubuntu:focal | ||
|
||
WORKDIR /usr/src/deadbeef | ||
COPY docker-artifacts/x86_64/deadbeef-devel /usr/src/deadbeef | ||
|
||
RUN apt-get -qq update | ||
RUN apt-get install -y -qq libgtk2.0-0 libasound2 libpulse0 libgtk-3-0 libdispatch0 | ||
|
||
RUN timeout -k 20s 20s /usr/src/deadbeef/deadbeef > /usr/src/deadbeef/log.txt | ||
RUN cat /usr/src/deadbeef/log.txt | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM deadbeef-builder-player-clang-20.04 | ||
|
||
WORKDIR /usr/src/deadbeef | ||
COPY . /usr/src/deadbeef | ||
ENV TRAVIS_OS_NAME=linux | ||
|
||
CMD [ "bash", "scripts/test.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
|
||
# run this script once to create the base container image, | ||
# which would contain all necessary dependencies and build tools | ||
|
||
docker build --progress plain -f tools/docker/20.04/Dockerfile-builder -t deadbeef-builder-player-clang-20.04 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
docker build --progress plain -t deadbeef-clang-20.04 -f tools/docker/20.04/Dockerfile . || exit 1 | ||
mkdir -p docker-artifacts | ||
docker run --rm -v ${PWD}/docker-artifacts:/usr/src/deadbeef/portable deadbeef-clang-20.04 || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
docker build --progress plain -t deadbeef-clang-distcheck-20.04 -f tools/docker/20.04/Dockerfile-distcheck . | ||
mkdir -p docker-artifacts | ||
docker run -i --rm -v ${PWD}/docker-artifacts:/usr/src/deadbeef/portable deadbeef-clang-distcheck-20.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
docker build --progress plain -t deadbeef-test-20.04 -f tools/docker/20.04/Dockerfile-test . || exit 1 | ||
docker run --rm deadbeef-test-20.04 || exit 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
docker build --progress plain -t deadbeef-clang-unittest-20.04 -f tools/docker/20.04/Dockerfile-unittest . | ||
mkdir -p docker-artifacts | ||
docker run -i --rm -v ${PWD}/docker-artifacts:/usr/src/deadbeef/portable deadbeef-clang-unittest-20.04 |