Only migrate settings if first start=false #3348
Workflow file for this run
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
name: iOS | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- name: iOS armv7 | |
cmakearch: armv7 | |
cmakesysroot: iphoneos | |
- name: iOS arm64 | |
cmakearch: arm64 | |
cmakesysroot: iphoneos | |
# - name: iOS i386 | |
# cmakearch: i386 | |
# cmakesysroot: iphonesimulator | |
- name: iOS x86_64 | |
cmakearch: x86_64 | |
cmakesysroot: iphonesimulator | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Toolchain Dependencies | |
working-directory: ${{runner.workspace}}/TeamTalk5/Build | |
run: | | |
brew update | |
make depend-mac | |
- name: Install TeamTalk Library Dependencies | |
run: brew install doxygen | |
- name: Build TeamTalk Library | |
working-directory: ${{runner.workspace}}/TeamTalk5/Build | |
run: | | |
make CMAKE_EXTRA="-DFEATURE_WEBRTC=OFF -DCMAKE_OSX_ARCHITECTURES=${{ matrix.cmakearch }} -DCMAKE_OSX_SYSROOT=${{ matrix.cmakesysroot }} -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/install-${{ matrix.cmakearch }}" BUILDDIR=build-${{ matrix.cmakearch }} ios-build | |
- name: Run CMake Install Target | |
working-directory: ${{runner.workspace}}/TeamTalk5/Build/build-${{ matrix.cmakearch }} | |
run: cmake --build . --target install | |
- name: Upload TeamTalk Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: teamtalksdk-ios-${{ matrix.cmakearch }} | |
path: ${{runner.workspace}}/install-${{ matrix.cmakearch }} |