Skip to content

Commit 2d800c7

Browse files
stinosdpgeorge
authored andcommitted
travis: Add OSX build to CI.
Add a standard unix port build in an OSX environment using clang. Should help in catching build failures due to platform differences early on.
1 parent f8449dd commit 2d800c7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,22 @@ jobs:
189189
- make ${MAKEOPTS} -C ports/unix VARIANT=minimal
190190
- (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-minimal ./run-tests -e exception_chain -e self_type_check -e subclass_native_init -d basics)
191191

192+
# unix port on OSX
193+
- stage: test
194+
os: osx
195+
osx_image: xcode11.3
196+
env:
197+
- NAME="unix port build with clang on OSX"
198+
- PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig
199+
install:
200+
- brew install pkgconfig
201+
script:
202+
- make ${MAKEOPTS} -C mpy-cross
203+
- make ${MAKEOPTS} -C ports/unix submodules
204+
- make ${MAKEOPTS} -C ports/unix deplibs
205+
- make ${MAKEOPTS} -C ports/unix
206+
- make ${MAKEOPTS} -C ports/unix test
207+
192208
# windows port via mingw
193209
- stage: test
194210
env: NAME="windows port build via mingw"

0 commit comments

Comments
 (0)