Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:

jobs:
build:
runs-on: macos-26
name: full build
env:
SDK_VERSION: 13.3.0.GA
DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer
steps:
- name: Checkout repository
uses: actions/checkout@v7

- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: '24.x'

- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: '22'
distribution: 'temurin'

- name: Setup Android SDK
uses: android-actions/setup-android@v3

- run: npm i -g titanium
name: Install Titanium CLI

- run: ti sdk install ${{ env.SDK_VERSION }} --force
name: Install SDK
if: steps.titanium-cache.outputs.cache-hit != 'true'

- name: Run build script
run: ./build.sh

- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: hyperloop-module
path: dist/hyperloop-*.zip
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ This repo contains the source code for Hyperloop, which lets you extend your Tit

You must have the following on your machine to build it using `build.sh`, however, you can use `./tools/build.sh` to bootstrap your environment with the necessary build tools if you do not:

- Titanium SDK 12.4.0+ (iOS) / 12.7.0+ (Android)
- iOS 13.0+ / Android 5.0+
- grunt
- Ant
- Titanium SDK 13.3.0+

## Release

The "build" workflow generates a ZIP file `hyperloop-module.zip` that contains the final release ZIP (e.g. `hyperloop-8.0.1.zip`). If you want to release a new hyperloop version wait for the "build" workflow to finish, grab the `hyperloop-module.zip` artifact, get the file `hyperloop-x.x.x.zip` out of that ZIP and use that for the release.

## License

Expand Down
Loading