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
64 changes: 64 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: CI Build

on:
pull_request:
branches: [main]

jobs:
jvm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Grant execute permission
run: chmod +x gradlew
- name: Build JVM
run: ./gradlew jvmJar --stacktrace
- name: Run JVM
run: ./gradlew jvmRun --stacktrace

android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Grant execute permission
run: chmod +x gradlew
- name: Build Android
run: ./gradlew assembleDebug --stacktrace

ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Grant execute permission
run: chmod +x gradlew
- name: Build iOS
run: ./gradlew linkDebugFrameworkIosX64 --stacktrace

js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Grant execute permission
run: chmod +x gradlew
- name: Build JS
run: ./gradlew jsBrowserProductionWebpack --stacktrace
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ Android | iOS | Web | Windows | MacOS | Linux (In Progress)
### iOS Run
Just launch xcode workspace as usual

### Continuous Integration
CI is configured with GitHub Actions. Every pull request to the `main`
branch triggers builds for Android, JVM, iOS and JavaScript targets to
ensure the project compiles and runs without errors on each platform.

### Youtube support

All this code has video support on YouTube (only in Russian)
Expand Down
Loading