-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pietern:main' into master
- Loading branch information
Showing
49 changed files
with
689 additions
and
374 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
"Ubuntu": | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- "16.04" | ||
- "18.04" | ||
- "20.04" | ||
- "21.04" | ||
- "21.10" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- run: docker build --tag build:ubuntu-${{ matrix.version }} --build-arg version=${{ matrix.version }} docker/ubuntu | ||
name: "docker build" | ||
- run: docker run --detach --interactive --name build --volume $PWD:/goestools build:ubuntu-${{ matrix.version }} | ||
name: "docker run" | ||
- run: docker exec -t build /run_cmake.sh | ||
name: "cmake" | ||
- run: docker exec -t build /run_compile.sh | ||
name: "make" |
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,51 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'docs/**' | ||
branches: | ||
- main | ||
pull_request: | ||
paths: | ||
- 'docs/**' | ||
branches: | ||
- main | ||
|
||
jobs: | ||
"Build": | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
cache: 'pip' | ||
- run: pip install -r docs/requirements.txt | ||
- run: make html | ||
working-directory: docs | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: docs/_build/html | ||
|
||
"Deploy": | ||
needs: "Build" | ||
if: success() && github.ref == 'refs/heads/main' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: refs/heads/gh-pages | ||
# Remove all tracked files such that we're left with a snapshot of the artifact. | ||
- name: clean | ||
run: git ls-files -z | xargs -0 rm -f | ||
- uses: actions/download-artifact@v2 | ||
- name: commit | ||
run: | | ||
rsync -a artifact/ . | ||
rm -rf artifact | ||
git add -A | ||
git config user.name 'github-actions[bot]' | ||
git config user.email 'github-actions[bot]@users.noreply.github.com' | ||
git commit --allow-empty -m "Snapshot of $GITHUB_SHA" | ||
- name: push | ||
run: git push origin gh-pages |
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 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,19 @@ | ||
ARG version | ||
FROM ubuntu:${version} | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=UTC | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
cmake \ | ||
git-core \ | ||
libairspy-dev \ | ||
libopencv-dev \ | ||
libproj-dev \ | ||
librtlsdr-dev \ | ||
zlib1g-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY ./run_cmake.sh / | ||
COPY ./run_compile.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,7 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
mkdir -p /tmp/goestools | ||
cd /tmp/goestools | ||
cmake /goestools |
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 | ||
|
||
set -e | ||
|
||
cd /tmp/goestools | ||
make -j $(nproc) |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 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
Oops, something went wrong.