-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change header links paths * Alter includes * Adapt CMake to new structure * Add installation support * Add initial CI * Fix icetunnel includes * Disable tools in CI * Don't expose Zlib to public interface * Don't expose libb2 to public interface * Add libb2 to CI deps * Add system include directory to public interface
- Loading branch information
1 parent
3c308da
commit 426be69
Showing
99 changed files
with
449 additions
and
403 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,64 @@ | ||
name: CI | ||
on: | ||
- push | ||
- pull_request | ||
- workflow_dispatch | ||
|
||
jobs: | ||
test-linux: | ||
runs-on: ubuntu-latest | ||
env: | ||
CCACHE_DIR: ${{github.workspace}}/ccache | ||
CCACHE_MAXSIZE: 100M | ||
strategy: | ||
matrix: | ||
tag: | ||
- minimal | ||
- system-libs | ||
- bundled-libs | ||
include: | ||
- tag: minimal | ||
deps: | | ||
libb2-dev | ||
libqca-qt5-2-dev | ||
options: -DIRIS_ENABLE_JINGLE_SCTP=OFF | ||
- tag: system-libs | ||
deps: | | ||
libb2-dev | ||
libqca-qt5-2-dev | ||
libusrsctp-dev | ||
options: -DIRIS_BUNDLED_QCA=OFF -DIRIS_BUNDLED_USRSCTP=OFF | ||
- tag: bundled-libs | ||
deps: null | ||
options: -DIRIS_BUNDLED_QCA=ON -DIRIS_BUNDLED_USRSCTP=ON | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
packages: | | ||
${{matrix.deps}} | ||
ccache | ||
ninja-build | ||
qtbase5-dev | ||
version: ${{matrix.tag}} | ||
- name: Configure | ||
run: | | ||
cmake -B ${{github.workspace}}/build -G Ninja \ | ||
-DCMAKE_C_COMPILER_LAUNCHER=ccache \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ | ||
${{matrix.options}} | ||
- name: Restore cache | ||
uses: actions/cache/restore@v3 | ||
with: | ||
key: ccache-linux-${{matrix.tag}} | ||
path: ${{github.workspace}}/ccache | ||
- name: Build | ||
run: | | ||
cmake --build ${{github.workspace}}/build -v -j $(nproc) | ||
- name: Save cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: ccache-linux-${{matrix.tag}} | ||
path: ${{github.workspace}}/ccache |
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.