Skip to content

Commit

Permalink
Attempt to fix the iOS and linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Jun 3, 2021
1 parent 3ca7bcc commit 9e79639
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ addons:
- cmake
install: >
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
set -eu
git clone -b 1.9 https://github.com/gnustep/libobjc2.git
mkdir libobjc2/build
cd libobjc2/build
export CC="clang"
export CXX="clang++"
cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/libobjc2_staging ../
git clone -b 1.9 https://github.com/gnustep/libobjc2.git &&
mkdir libobjc2/build &&
cd libobjc2/build &&
export CC="clang" &&
export CXX="clang++" &&
cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/libobjc2_staging ../ &&
make install
fi
before_script: >
Expand Down Expand Up @@ -56,11 +55,11 @@ jobs:
osx_image: xcode7.3
rust: 1.41.0
before_install: >
rustup target add \
i386-apple-ios \
x86_64-apple-ios \
armv7-apple-ios \
armv7s-apple-ios \
rustup target add
i386-apple-ios
x86_64-apple-ios
armv7-apple-ios
armv7s-apple-ios
aarch64-apple-ios
install: curl -LO https://github.com/SSheldon/rust-test-ios/releases/download/0.1.1/rust-test-ios && chmod +x rust-test-ios
env: FEATURES="exception"
Expand Down

0 comments on commit 9e79639

Please sign in to comment.