Skip to content
Open
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
48 changes: 48 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: main

on:
push:
pull_request:

jobs:
build:
name: Build ${{ matrix.platform }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
platform: [windows, linux, macos]
include:
- platform: windows
os: windows-latest
target: windows
- platform: linux
os: ubuntu-latest
target: linux
- platform: macos
os: macos-13
target: mac

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Haxe
uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.3.4

- name: Setup Lime
run: |
haxelib install lime 7.9.0
haxelib run lime setup -y
haxelib list

- name: Build ${{ matrix.target }}
run: haxelib run lime build project.xml ${{ matrix.target }}

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Tobor-${{ matrix.platform }}
path: Export/${{ matrix.platform }}/bin
Loading