diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..635822e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +name: Build +on: [push, pull_request] +env: + buildDir: ${{ github.workspace }}/build/ + +jobs: + build: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: 'recursive' + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '13.1' + - name: Build + run: | + gem install --verbose xcpretty + mkdir ${PWD}/__build__ + set -o pipefail && xcodebuild -UseModernBuildSystem=NO -configuration Release -target "MumbleKit (iOS)" CONFIGURATION_BUILD_DIR="${PWD}/__build__" | xcpretty diff --git a/.gitmodules b/.gitmodules index dc665e5..a54b979 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,15 +1,15 @@ [submodule "3rdparty/speex"] path = 3rdparty/speex - url = git://github.com/xiph/speex.git + url = https://github.com/xiph/speex.git [submodule "3rdparty/celt-0.7.0"] path = 3rdparty/celt-0.7.0 - url = git://github.com/mumble-voip/celt-0.7.0.git + url = https://github.com/mumble-voip/celt-0.7.0.git [submodule "3rdparty/protobuf"] path = 3rdparty/protobuf - url = git://github.com/booyah/protobuf-objc.git + url = https://github.com/booyah/protobuf-objc.git [submodule "3rdparty/openssl"] path = 3rdparty/openssl - url = git://github.com/mkrautz/openssl-mirror.git + url = https://github.com/mkrautz/openssl-mirror.git [submodule "3rdparty/opus"] path = 3rdparty/opus - url = git://github.com/xiph/opus.git + url = https://github.com/xiph/opus.git diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 66551d1..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -os: - - osx - -osx_image: xcode8.1 -language: generic - -before_install: - - gem install --verbose xcpretty - -script: - - mkdir ${PWD}/__build__ - - set -o pipefail && xcodebuild -configuration Release -target "MumbleKit (iOS)" CONFIGURATION_BUILD_DIR="${PWD}/__build__" | xcpretty diff --git a/3rdparty/opensslbuild/Base.xcconfig b/3rdparty/opensslbuild/Base.xcconfig index cd0d7b8..3365ab6 100644 --- a/3rdparty/opensslbuild/Base.xcconfig +++ b/3rdparty/opensslbuild/Base.xcconfig @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -ARCHS = armv7 armv7s arm64 +ARCHS = arm64 SDKROOT = iphoneos MACOSX_DEPLOYMENT_TARGET = 10.7 diff --git a/3rdparty/opusbuild/Base.xcconfig b/3rdparty/opusbuild/Base.xcconfig index 602b66e..f4ff313 100644 --- a/3rdparty/opusbuild/Base.xcconfig +++ b/3rdparty/opusbuild/Base.xcconfig @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -ARCHS = armv7 armv7s arm64 +ARCHS = arm64 SDKROOT = iphoneos MACOSX_DEPLOYMENT_TARGET = 10.7 diff --git a/3rdparty/protobufbuild/Base.xcconfig b/3rdparty/protobufbuild/Base.xcconfig index 4fd2ca3..0d482bb 100644 --- a/3rdparty/protobufbuild/Base.xcconfig +++ b/3rdparty/protobufbuild/Base.xcconfig @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -ARCHS = armv7 armv7s arm64 +ARCHS = arm64 SDKROOT = iphoneos MACOSX_DEPLOYMENT_TARGET = 10.7 diff --git a/3rdparty/speexbuild/Base.xcconfig b/3rdparty/speexbuild/Base.xcconfig index 93bea7b..334288f 100644 --- a/3rdparty/speexbuild/Base.xcconfig +++ b/3rdparty/speexbuild/Base.xcconfig @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -ARCHS = armv7 armv7s arm64 +ARCHS = arm64 SDKROOT = iphoneos MACOSX_DEPLOYMENT_TARGET = 10.7 diff --git a/3rdparty/speexdspbuild/Base.xcconfig b/3rdparty/speexdspbuild/Base.xcconfig index 3486a0b..2c44aed 100644 --- a/3rdparty/speexdspbuild/Base.xcconfig +++ b/3rdparty/speexdspbuild/Base.xcconfig @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -ARCHS = armv7 armv7s arm64 +ARCHS = arm64 SDKROOT = iphoneos MACOSX_DEPLOYMENT_TARGET = 10.7 diff --git a/cfg/Base.xcconfig b/cfg/Base.xcconfig index 538ba87..4865695 100644 --- a/cfg/Base.xcconfig +++ b/cfg/Base.xcconfig @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -ARCHS = armv7 armv7s arm64 +ARCHS = arm64 SDKROOT = iphoneos MACOSX_DEPLOYMENT_TARGET = 10.7