Skip to content

Commit

Permalink
Generated Builds by GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnikTil authored Dec 5, 2024
1 parent 0461ca9 commit 6bc89fb
Showing 1 changed file with 100 additions and 0 deletions.
100 changes: 100 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: Build

on:
push:
workflow_dispatch:

jobs:
buildLinux:
name: Build Linux Application
runs-on: ubuntu-latest

steps:
- name: Download Source Code
uses: actions/checkout@v4
- name: Get Compile Cache
uses: actions/cache@v4
with:
path: |
export/release/linux/haxe
export/release/linux/obj
.haxelib
key: ${{ runner.os }}-cache-compile
- name: Setup Haxe
uses: krdlab/[email protected]
with:
haxe-version: latest
- name: Install Haxe Libraries using HxPKG
run: |
sudo apt install libvlccore-dev libvlc-dev -y
haxelib install hxpkg --quiet
haxelib run hxpkg install
- name: Compile Application
run: haxelib run lime build linux
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: TechNotDrip_Engine-LINUX
path: export/release/linux/bin/

buildWindows:
name: Build Windows Application
runs-on: windows-latest

steps:
- name: Download Source Code
uses: actions/checkout@v4
- name: Get Compile Cache
uses: actions/cache@v4
with:
path: |
export/release/windows/haxe
export/release/windows/obj
.haxelib
key: ${{ runner.os }}-cache-compile
- name: Setup Haxe
uses: krdlab/[email protected]
with:
haxe-version: latest
- name: Install Haxe Libraries using HxPKG
run: |
haxelib install hxpkg --quiet
haxelib run hxpkg install
- name: Compile Application
run: haxelib run lime build windows
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: TechNotDrip_Engine-WINDOWS
path: export/release/windows/bin/

buildMacOS:
name: Build MacOS Application
runs-on: macos-latest

steps:
- name: Download Source Code
uses: actions/checkout@v4
- name: Get Compile Cache
uses: actions/cache@v4
with:
path: |
export/release/macos/haxe
export/release/macos/obj
.haxelib
key: ${{ runner.os }}-cache-compile
- name: Setup Haxe
uses: krdlab/[email protected]
with:
haxe-version: latest
- name: Install Haxe Libraries using HxPKG
run: |
haxelib install hxpkg --quiet
haxelib run hxpkg install
- name: Compile Application
run: haxelib run lime build macos
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: TechNotDrip_Engine-MACOS
path: export/release/macos/bin/

0 comments on commit 6bc89fb

Please sign in to comment.