Skip to content

Commit 0dc0ea0

Browse files
committed
Merge branch 'master' into stable
2 parents 936863d + 61db95c commit 0dc0ea0

File tree

370 files changed

+72175
-29759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

370 files changed

+72175
-29759
lines changed

.gitignore

Lines changed: 46 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*.suo
55
sexit
66
.vscode/
7+
build/vendor/
78
build/uwp/tic/Debug/
89
build/uwp/tic/Release/
910
build/uwp/tic/x64/
@@ -18,7 +19,6 @@ build/itch.io/console.zip
1819
build/uwp/code8/ARM/
1920
build/uwp/code8/x64/
2021
build/uwp/code8/code8.VC.db
21-
embed.html
2222
build/uwp/code8/Release/
2323
build/uwp/code8/AppPackages/code8/code8_0.0.3.0_Test/
2424
build/uwp/code8/BundleArtifacts/
@@ -46,9 +46,6 @@ lib/windows/res.aps
4646
lib/windows/tic.aps
4747
.DS_Store
4848
lib/macos/.DS_Store
49-
build/macosx/tic80.icns
50-
build/macosx/tic80.app/
51-
build/macosx/tic80.dmg
5249
tools/bundler/assets/
5350
tools/bundler/bin/
5451
tools/bin2txt/*.exe
@@ -92,8 +89,6 @@ build/windows/zlib/Debug Pro/
9289
build/windows/zlib/Release Pro/
9390
build/windows/example/Release Pro/
9491
build/windows/example/Debug Pro/
95-
TIC80.sublime-project
96-
TIC80.sublime-workspace
9792
build/windows/wren/Release/
9893
build/windows/wren/Debug/
9994
build/windows/wren/x64/
@@ -124,4 +119,48 @@ build/uwp/sdl-gpu-static/x64/
124119
build/uwp/tic/packages/
125120
build/windows/studio/x64/
126121
build/windows/sdl-gpu/x64/
127-
build/windows/tic/.vs/
122+
build/macosx/*.plist
123+
demos/*.rtc
124+
demos/*.srm
125+
demos/.local
126+
.vs/
127+
CMakeFiles/
128+
lib/
129+
*.cmake
130+
CMakeCache.txt
131+
Makefile
132+
!build/baremetalpi/Makefile
133+
!build/baremetalpi/boot/Makefile
134+
build/android/.gradle/
135+
build/android/app/.externalNativeBuild/
136+
build/android/app/build/
137+
build/android/build/
138+
build/vendor/sdl2/SDL2.spec
139+
build/vendor/sdl2/include/SDL_config.h
140+
build/vendor/sdl2/sdl2-config
141+
build/vendor/sdl2/sdl2.pc
142+
build/bin/bin2txt
143+
build/bin/sdl-renderer
144+
build/bin/sokol-renderer
145+
build/bin/tic80
146+
build/bin/tic80-sokol
147+
out/
148+
build/bin/
149+
build/vendor/curl/libcurl.pc
150+
build/vendor/curl/curl-config
151+
build/vendor/curl/DartConfiguration.tcl
152+
build/.ninja_deps
153+
build/.ninja_log
154+
build/version.h
155+
build/windows/tic80.rc
156+
*.ninja
157+
tic80.sublime-workspace
158+
build/*.tic
159+
build/*.vcxproj
160+
build/*.vcxproj.filters
161+
build/*.vcxproj.user
162+
build/CMakeDoxyfile.in
163+
build/*.sln
164+
build/.local/
165+
build/*.dir/
166+
build/x64/

.gitmodules

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1-
[submodule "3rd-party"]
2-
path = 3rd-party
3-
url = https://github.com/nesbox/3rd-party.git
1+
[submodule "vendor/blip-buf"]
2+
path = vendor/blip-buf
3+
url = https://github.com/nesbox/blip-buf.git
4+
[submodule "vendor/curl"]
5+
path = vendor/curl
6+
url = https://github.com/nesbox/curl.git
7+
[submodule "vendor/dirent"]
8+
path = vendor/dirent
9+
url = https://github.com/tronkko/dirent.git
10+
[submodule "vendor/duktape"]
11+
path = vendor/duktape
12+
url = https://github.com/svaarala/duktape-releases.git
13+
[submodule "vendor/giflib"]
14+
path = vendor/giflib
15+
url = https://github.com/nesbox/giflib.git
16+
[submodule "vendor/lpeg"]
17+
path = vendor/lpeg
18+
url = https://github.com/nesbox/lpeg.git
19+
[submodule "vendor/lua"]
20+
path = vendor/lua
21+
url = https://github.com/lua/lua.git
22+
[submodule "vendor/sdl-gpu"]
23+
path = vendor/sdl-gpu
24+
url = https://github.com/grimfang4/sdl-gpu.git
25+
[submodule "vendor/sdl2"]
26+
path = vendor/sdl2
27+
url = https://github.com/SDL-mirror/SDL.git
28+
[submodule "vendor/sokol"]
29+
path = vendor/sokol
30+
url = https://github.com/floooh/sokol.git
31+
[submodule "vendor/squirrel"]
32+
path = vendor/squirrel
33+
url = https://github.com/albertodemichelis/squirrel.git
34+
[submodule "vendor/wren"]
35+
path = vendor/wren
36+
url = https://github.com/wren-lang/wren.git
37+
[submodule "vendor/zlib"]
38+
path = vendor/zlib
39+
url = https://github.com/madler/zlib.git
40+
[submodule "vendor/zip"]
41+
path = vendor/zip
42+
url = https://github.com/kuba--/zip.git

.travis.yml

Lines changed: 96 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,98 @@
11
language: c
2-
script:
3-
- make linux
4-
- make linux-pro
52

6-
addons:
7-
apt:
8-
sources:
9-
- ubuntu-toolchain-r-test
10-
packages:
11-
- build-essential
12-
- mercurial
13-
- make
14-
- cmake
15-
- autoconf
16-
- automake
17-
- libtool
18-
- libasound2-dev
19-
- libpulse-dev
20-
- libaudio-dev
21-
- libx11-dev
22-
- libxext-dev
23-
- libxrandr-dev
24-
- libxcursor-dev
25-
- libxi-dev
26-
- libxinerama-dev
27-
- libxxf86vm-dev
28-
- libxss-dev
29-
- libgl1-mesa-dev
30-
- libesd0-dev
31-
- libdbus-1-dev
32-
- libudev-dev
33-
- libgles1-mesa-dev
34-
- libgles2-mesa-dev
35-
- libegl1-mesa-dev
36-
- libibus-1.0-dev
37-
- fcitx-libs-dev
38-
- libsamplerate0-dev
39-
- libsndio-dev
40-
- libgtk-3-dev
41-
- zlib1g-dev
42-
- libwayland-dev
43-
- libxkbcommon-dev
44-
- libglu-dev
3+
git:
4+
depth: false
5+
6+
before_install:
7+
- BUILDS_SERVER_PATH=${BUILD_SERVER}/files/$TRAVIS_BRANCH/$(date +%Y.%m.%d)/$OS_FOLDER
8+
script:
9+
- mkdir out && cd out
10+
- cmake -DCMAKE_BUILD_TYPE=MinSizeRel ..
11+
- make -j$(nproc)
12+
13+
matrix:
14+
include:
15+
- os: osx
16+
osx_image: xcode9.3
17+
env:
18+
- OS_FOLDER=mac
19+
install:
20+
- brew uninstall --ignore-dependencies libidn2
21+
after_success:
22+
- cpack
23+
- cp *.dmg tic80.dmg
24+
- sha256sum tic80.dmg
25+
- curl --retry 3 --ftp-create-dirs -T tic80.dmg $BUILDS_SERVER_PATH/
26+
27+
- os: linux
28+
dist: trusty
29+
addons:
30+
apt:
31+
packages:
32+
- libgtk-3-dev
33+
- libasound2-dev
34+
env:
35+
- OS_FOLDER=linux
36+
after_success:
37+
- cpack
38+
- sha256sum tic80.deb
39+
- curl --retry 3 --ftp-create-dirs -T tic80.deb $BUILDS_SERVER_PATH/
40+
- tar -cvzf tic80.tar.gz --directory=$HOME/build/nesbox/TIC-80/out/bin tic80
41+
- sha256sum tic80.tar.gz
42+
- curl --retry 3 --ftp-create-dirs -T tic80.tar.gz $BUILDS_SERVER_PATH/
43+
44+
- os: linux
45+
language: android
46+
env:
47+
- OS_FOLDER=android
48+
install:
49+
- wget https://dl.google.com/android/repository/android-ndk-r18b-linux-x86_64.zip
50+
- unzip android-ndk-r18b-linux-x86_64.zip -d $HOME
51+
- export ANDROID_NDK_HOME=$HOME/android-ndk-r18b
52+
- touch $HOME/.android/repositories.cfg
53+
- yes | sdkmanager "platforms;android-26"
54+
- yes | sdkmanager "build-tools;28.0.3"
55+
56+
script:
57+
- cd build/android
58+
- ./gradlew assembleRelease
59+
60+
after_success:
61+
- cp app/build/outputs/apk/arm7/release/app-arm7-release.apk tic80_arm7.apk
62+
- cp app/build/outputs/apk/arm8/release/app-arm8-release.apk tic80_arm8.apk
63+
- cp app/build/outputs/apk/x86_64/release/app-x86_64-release.apk tic80_x86_64.apk
64+
- cp app/build/outputs/apk/x86/release/app-x86-release.apk tic80_x86.apk
65+
- cp app/build/outputs/apk/universal/release/app-universal-release.apk tic80.apk
66+
- sha256sum tic80_arm7.apk
67+
- sha256sum tic80_arm8.apk
68+
- sha256sum tic80_x86_64.apk
69+
- sha256sum tic80_x86.apk
70+
- sha256sum tic80.apk
71+
- curl --retry 3 --ftp-create-dirs -T tic80_arm7.apk $BUILDS_SERVER_PATH/
72+
- curl --retry 3 --ftp-create-dirs -T tic80_arm8.apk $BUILDS_SERVER_PATH/
73+
- curl --retry 3 --ftp-create-dirs -T tic80_x86_64.apk $BUILDS_SERVER_PATH/
74+
- curl --retry 3 --ftp-create-dirs -T tic80_x86.apk $BUILDS_SERVER_PATH/
75+
- curl --retry 3 --ftp-create-dirs -T tic80.apk $BUILDS_SERVER_PATH/
76+
77+
- os: linux
78+
dist: trusty
79+
env:
80+
- OS_FOLDER=wasm
81+
services:
82+
- docker
83+
install:
84+
- sudo apt-get install zip
85+
- docker run -dit --name emscripten -v $(pwd):/src emscripten/emsdk bash
86+
script:
87+
- docker exec -it emscripten emcmake cmake -DCMAKE_BUILD_TYPE=MinSizeRel .
88+
- docker exec -it emscripten make -j$(nproc)
89+
after_success:
90+
- cd $HOME/build/nesbox/TIC-80
91+
- mkdir out
92+
- cp build/html/index.html out/index.html
93+
- cp bin/tic80.wasm out/tic80.wasm
94+
- cp bin/tic80.js out/tic80.js
95+
- cd out
96+
- zip tic80-wasm.zip *
97+
- sha256sum tic80-wasm.zip
98+
- curl --retry 3 --ftp-create-dirs -T tic80-wasm.zip $BUILDS_SERVER_PATH/

3rd-party

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)