This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
forked from fernandotcl/TinyEMU
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40db8a3
commit 0a9cf29
Showing
1 changed file
with
29 additions
and
43 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,37 @@ | ||
language: c | ||
|
||
services: | ||
- docker | ||
|
||
matrix: | ||
include: | ||
|
||
- os: linux | ||
env: BUILD=linux | ||
- os: linux | ||
env: BUILD=linux-emscripten | ||
- os: osx | ||
env: BUILD=macos | ||
- os: osx | ||
env: BUILD=macos-ios | ||
addons: | ||
apt: | ||
packages: | ||
- libcurl4-openssl-dev | ||
- libssl-dev | ||
- libsdl2-dev | ||
script: | ||
- make | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- libcurl4-openssl-dev | ||
- libssl-dev | ||
- libsdl2-dev | ||
homebrew: | ||
packages: | ||
- openssl | ||
- sdl2 | ||
- os: linux | ||
services: | ||
- docker | ||
before_install: | ||
- docker run -dit --name emscripten -v $(pwd):/src trzeci/emscripten:sdk-incoming-64bit bash | ||
script: | ||
- docker exec -it emscripten make -f Makefile.js | ||
|
||
before_install: | ||
- case "$BUILD" in | ||
linux-emscripten) | ||
docker run -dit --name emscripten -v $(pwd):/src trzeci/emscripten:sdk-incoming-64bit bash | ||
;; | ||
esac | ||
- os: osx | ||
addons: | ||
homebrew: | ||
packages: | ||
- openssl | ||
- sdl2 | ||
script: | ||
- make CFLAGS=-I$(brew --prefix)/opt/openssl/include CONFIG_MACOS=y | ||
|
||
script: | ||
- case "$BUILD" in | ||
linux) | ||
make | ||
;; | ||
linux-emscripten) | ||
docker exec -it emscripten make -f Makefile.js | ||
;; | ||
macos) | ||
make CFLAGS=-I$(brew --prefix)/opt/openssl/include CONFIG_MACOS=y | ||
;; | ||
macos-ios) | ||
make CONFIG_IOS=y CONFIG_FS_NET= CONFIG_SDL= ; | ||
make clean ; | ||
make CONFIG_IOS_SIMULATOR=y CONFIG_FS_NET= CONFIG_SDL= | ||
;; | ||
esac | ||
- os: osx | ||
script: | ||
- make CONFIG_IOS=y CONFIG_FS_NET= CONFIG_SDL= | ||
- make clean | ||
- make CONFIG_IOS_SIMULATOR=y CONFIG_FS_NET= CONFIG_SDL= |