Skip to content

Build-LuaJIT

Build-LuaJIT #4

Workflow file for this run

name: Build-LuaJIT
on: workflow_dispatch
jobs:
Windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@master
- name: Compiling
run: ./project/luajit/scripts/Windows-Building.bat
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: Windows
path: LuaJIT
if-no-files-found: warn
Windows-MinGW:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup MSYS2
uses: msys2/setup-msys2@main
with:
msystem: MINGW64
cache: false
install: >-
base-devel
gcc
git
- name: Compiling
run: chmod +x project/luajit/scripts/MinGW-Building.sh && ./project/luajit/scripts/MinGW-Building.sh
shell: msys2 {0}
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: Windows-MinGW
path: LuaJIT/build
if-no-files-found: warn
MacOS:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@main
- name: Compiling
run: chmod +x project/luajit/scripts/MacOS-Building.sh && ./project/luajit/scripts/MacOS-Building.sh
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: Macos
path: LuaJIT/build
if-no-files-found: warn
iOS:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@main
- name: Compiling
run: chmod +x project/luajit/scripts/iOS-Building.sh && ./project/luajit/scripts/iOS-Building.sh
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: iOS
path: LuaJIT/build
if-no-files-found: warn
Android:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Install Dependencies
run: sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install make automake autoconf libtool build-essential gcc-multilib -y
- name: Compiling
run: ANDROID_NDK_HOME="$ANDROID_NDK_LATEST_HOME" chmod +x project/luajit/scripts/Android-Building.sh && ./project/luajit/scripts/Android-Building.sh
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: Android
path: LuaJIT/build
if-no-files-found: warn