Skip to content

Version update

Version update #2386

Workflow file for this run

name: macOS
on: [push]
env:
# TeamTalk unit test environment variables
VIDEODEVICEID: None
VERBOSE: 0
GITHUBSKIP: 1
jobs:
build:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
- name: Install Qt
uses: jurplel/install-qt-action@v3
- name: Install Toolchain Dependencies
working-directory: ${{runner.workspace}}/TeamTalk5/Build
run: |
brew update
make depend-mac
- name: Print env
run: printenv | sort
- name: Init TeamTalk Library submodules
working-directory: ${{runner.workspace}}/TeamTalk5
run: |
git submodule update --init --recursive
- name: Install TeamTalk Library Dependencies
run: brew install doxygen
- name: Build TeamTalk Library and Apps
working-directory: ${{runner.workspace}}/TeamTalk5
shell: bash
run: |
make CMAKE_EXTRA="-DFEATURE_WEBRTC=OFF -DCATCH_UNITTEST=ON -DCATCH_UNITTEST_PERF=OFF -DBUILD_TEAMTALK_CLIENT_QT_EXAMPLE_PRODUCT=ON -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/install" CMAKE_GENERATOR="Unix Makefiles" -C Build mac
- name: Start TeamTalk Standard Server
working-directory: ${{runner.workspace}}/TeamTalk5
run: |
cp Library/TeamTalkLib/test/tt5srv.xml_template Server/tt5srv.xml
Server/tt5srv -d -c Server/tt5srv.xml
- name: Start TeamTalk Pro Server (encrypted)
working-directory: ${{runner.workspace}}/TeamTalk5
run: |
cp -f Library/TeamTalkLib/test/tt5prosrv.xml_template Server/tt5prosrv.xml
cp Library/TeamTalkLib/test/ttservercert.pem Server/
cp Library/TeamTalkLib/test/ttserverkey.pem Server/
cp Library/TeamTalkLib/test/ca.cer Server/
Server/tt5prosrv -d -wd Server/
- name: Catch unit-test
working-directory: ${{runner.workspace}}/TeamTalk5/Library/TeamTalkLib/test
run: catchtt.app/Contents/MacOS/catchtt --durations yes
- name: Stop TeamTalk Pro Server
run: killall tt5prosrv
- name: Stop TeamTalk Standard Server
run: killall tt5srv
- name: Run CMake Install Target
working-directory: ${{runner.workspace}}/TeamTalk5/Build/build-mac
run: cmake --build . --target install
- name: Upload TeamTalk Artifacts
uses: actions/upload-artifact@v2
with:
name: teamtalksdk-macos
path: ${{runner.workspace}}/install