3 Commits

Author SHA1 Message Date
Kharkunov Eugene
5385b9bf68 Use reusable workflow (#60) 2025-09-09 22:17:13 +02:00
vlaaad
6e21b85cdf Merge pull request #59 from vlaaad/patch-1
Create ext.properties
2025-08-22 16:26:40 +02:00
vlaaad
c45308030a Create ext.properties 2025-08-22 11:04:01 +02:00
2 changed files with 21 additions and 72 deletions

View File

@@ -1,76 +1,7 @@
name: Build with bob
on:
push:
pull_request_target:
schedule:
# nightly at 05:00 on the 1st and 15th
- cron: 0 5 1,15 * *
env:
VERSION_FILENAME: 'info.json'
BUILD_SERVER: 'https://build.defold.com'
on: [push, pull_request]
jobs:
build_with_bob:
strategy:
matrix:
platform: [armv7-android, x86_64-linux, x86_64-win32, x86-win32, js-web]
runs-on: ubuntu-latest
name: Build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '11.0.2'
- name: Get Defold version
run: |
TMPVAR=`curl -s http://d.defold.com/stable/${{env.VERSION_FILENAME}} | jq -r '.sha1'`
echo "DEFOLD_VERSION=${TMPVAR}" >> $GITHUB_ENV
echo "Found version ${TMPVAR}"
- name: Download bob.jar
run: |
wget -q http://d.defold.com/archive/stable/${{env.DEFOLD_VERSION}}/bob/bob.jar
java -jar bob.jar --version
- name: Resolve libraries
run: java -jar bob.jar resolve --email a@b.com --auth 123456
- name: Build
run: java -jar bob.jar --platform=${{ matrix.platform }} build --archive --build-server=${{env.BUILD_SERVER}}
- name: Bundle
run: java -jar bob.jar --platform=${{ matrix.platform }} bundle
# macOS is not technically needed for building, but we want to test bundling as well, since we're also testing the manifest merging
build_with_bob_macos:
strategy:
matrix:
platform: [armv7-darwin, x86_64-darwin]
runs-on: macOS-latest
name: Build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '11.0.2'
- name: Get Defold version
run: |
TMPVAR=`curl -s http://d.defold.com/stable/${{env.VERSION_FILENAME}} | jq -r '.sha1'`
echo "DEFOLD_VERSION=${TMPVAR}" >> $GITHUB_ENV
echo "Found version ${TMPVAR}"
- name: Download bob.jar
run: |
wget -q http://d.defold.com/archive/stable/${{env.DEFOLD_VERSION}}/bob/bob.jar
java -jar bob.jar --version
- name: Resolve libraries
run: java -jar bob.jar resolve --email a@b.com --auth 123456
- name: Build
run: java -jar bob.jar --platform=${{ matrix.platform }} build --archive --build-server=${{env.BUILD_SERVER}}
- name: Bundle
run: java -jar bob.jar --platform=${{ matrix.platform }} bundle
build:
uses: defold/github-actions-common/.github/workflows/bob.yml@master

18
websocket/ext.properties Normal file
View File

@@ -0,0 +1,18 @@
[websocket]
group = Runtime
help = Websocket extension settings
buffer_size.type = integer
buffer_size.default = 65536
socket_timeout.type = integer
socket_timeout.default = 500000
socket_timeout.help = Timeout for the underlying socket connection, in microseconds
max_connections.type = integer
max_connections.default = 2
debug.type = integer
debug.default = 0
debug.options = 0:Disabled, 1:State Changes, 2:Messages Sent and Received