-
-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Moved to CircleCI
- Loading branch information
Showing
22 changed files
with
127 additions
and
305 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
version: 2.1 | ||
orbs: | ||
codecov: codecov/[email protected] | ||
jobs: | ||
build-debian-gcc: | ||
docker: | ||
- image: "debian:latest" | ||
steps: | ||
- checkout | ||
- run: | ||
name: Installing Dependencies | ||
command: ./docker/deps-debian.sh | ||
- run: | ||
name: Build test and install | ||
command: 'OS=debian ./docker/build_test_install.sh' | ||
- run: | ||
name: Create coverage report | ||
command: lcov --directory . --capture --output-file coverage.info && lcov --remove coverage.info '/usr/*' --output-file coverage.info | ||
- codecov/upload: | ||
file: coverage.info | ||
|
||
build-fedora-gcc: | ||
docker: | ||
- image: "fedora:latest" | ||
steps: | ||
- checkout | ||
- run: | ||
name: Installing Dependencies | ||
command: ./docker/deps-fedora.sh | ||
- run: | ||
name: Build test and install | ||
command: 'OS=fedora ./docker/build_test_install.sh' | ||
build-archlinux-gcc: | ||
docker: | ||
- image: "archlinux:latest" | ||
steps: | ||
- checkout | ||
- run: | ||
name: Installing Dependencies | ||
command: ./docker/deps-archlinux.sh | ||
- run: | ||
name: Build test and install | ||
command: 'OS=archlinux ./docker/build_test_install.sh' | ||
build-osx-clang: | ||
macos: | ||
xcode: "13.0.0" | ||
steps: | ||
- checkout | ||
- run: | ||
name: Installing CMake | ||
command: 'brew install cmake jsoncpp argtable curl hiredis redis libmicrohttpd' | ||
- run: | ||
name: Build | ||
command: 'OS=osx ./docker/build_test_install.sh' | ||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- build-debian-gcc | ||
- build-fedora-gcc | ||
- build-archlinux-gcc | ||
- build-osx-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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
.DS_Store | ||
profile | ||
|
||
cmake-build-* | ||
# xcode noise | ||
build/* | ||
*.mode1 | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ xcuserdata | |
|
||
#Qt-creator noise | ||
build-* | ||
cmake-build-* | ||
|
||
# svn & cvs | ||
.svn | ||
|
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,26 +1,10 @@ | ||
FROM archlinux/base:latest | ||
FROM archlinux:latest | ||
MAINTAINER Peter Spiess-Knafl <[email protected]> | ||
ENV OS=arch | ||
RUN pacman -Sy --noconfirm \ | ||
sudo \ | ||
sed \ | ||
grep \ | ||
awk \ | ||
fakeroot \ | ||
wget \ | ||
cmake \ | ||
make \ | ||
gcc \ | ||
git \ | ||
jsoncpp \ | ||
libmicrohttpd \ | ||
curl \ | ||
hiredis \ | ||
redis | ||
|
||
RUN sudo -u nobody mkdir /tmp/argtable && cd /tmp && git clone https://aur.archlinux.org/argtable.git && cd argtable && sudo -u nobody makepkg | ||
RUN pacman -U --noconfirm /tmp/argtable/*.pkg.tar.xz | ||
ENV OS=archlinux | ||
RUN mkdir /app | ||
COPY docker/deps-archlinux.sh /app | ||
RUN chmod a+x /app/deps-archlinux.sh | ||
RUN /app/deps-archlinux.sh | ||
COPY docker/build_test_install.sh /app | ||
COPY . /app | ||
RUN chmod a+x /app/build_test_install.sh | ||
|
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
FROM debian:latest | ||
MAINTAINER Peter Spiess-Knafl <[email protected]> | ||
ENV OS=debian | ||
RUN mkdir /app | ||
COPY docker/deps-debian.sh /app | ||
RUN chmod a+x /app/deps-debian.sh | ||
RUN /app/deps-debian.sh | ||
COPY docker/build_test_install.sh /app | ||
COPY . /app | ||
RUN chmod a+x /app/build_test_install.sh | ||
RUN cd /app && ./build_test_install.sh |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,20 +1,10 @@ | ||
FROM fedora:latest | ||
MAINTAINER Peter Spiess-Knafl <[email protected]> | ||
ENV OS=fedora | ||
RUN dnf -y install \ | ||
gcc-c++ \ | ||
jsoncpp-devel \ | ||
libcurl-devel \ | ||
libmicrohttpd-devel \ | ||
catch-devel \ | ||
git \ | ||
cmake \ | ||
make \ | ||
argtable-devel \ | ||
hiredis-devel \ | ||
redis | ||
|
||
RUN mkdir /app | ||
COPY docker/deps-fedora.sh /app | ||
RUN chmod a+x /app/deps-fedora.sh | ||
RUN /app/deps-fedora.sh | ||
COPY docker/build_test_install.sh /app | ||
COPY . /app | ||
RUN chmod a+x /app/build_test_install.sh | ||
|
Oops, something went wrong.