Skip to content

Commit

Permalink
misc(ci): Add build GitHub actions workflow (#68)
Browse files Browse the repository at this point in the history
Replaces (not used anymore) Travis-CI.
  • Loading branch information
Kissaki authored Mar 13, 2024
2 parents b59f033 + 491cecc commit c6f7819
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 23 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 5 additions & 5 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -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
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion 3rdparty/opensslbuild/Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/opusbuild/Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/protobufbuild/Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/speexbuild/Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/speexdspbuild/Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cfg/Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6f7819

Please sign in to comment.