Update build tests to use the new platform names (#5) #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Tests | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-tests: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Build Linux Rebel Editor | |
os: ubuntu-latest | |
artifact: linux-editor | |
build-options: production=yes target=release_debug | |
rebel-executable: rebel.linux.opt.tools.64 | |
- name: Build Linux Rebel Engine 32 bit | |
os: ubuntu-latest | |
artifact: linux-engine-x86-32 | |
build-options: production=yes tools=no target=release bits=32 | |
rebel-executable: rebel.x11.opt.32 | |
- name: Build Windows Rebel Editor on Linux | |
os: ubuntu-latest | |
artifact: windows-editor-mingw-linux | |
build-options: platform=windows production=yes target=release_debug | |
rebel-executable: rebel.windows.opt.tools.64.mingw.exe | |
- name: Build Windows Rebel Editor using MSVC | |
os: windows-latest | |
artifact: windows-editor-msvc | |
build-options: production=yes target=release_debug | |
rebel-executable: rebel.windows.opt.tools.64.msvc.exe | |
- name: Build Windows Rebel Editor using MinGW | |
os: windows-latest | |
artifact: windows-editor-mingw | |
build-options: production=yes target=release_debug use_mingw=yes | |
rebel-executable: rebel.windows.opt.tools.64.mingw.exe | |
- name: Build macOS Rebel Editor | |
os: macOS-latest | |
artifact: macos-editor | |
build-options: production=yes target=release_debug | |
rebel-executable: rebel.macos.opt.tools.64 | |
- name: Build Android Rebel Engine Library | |
os: ubuntu-latest | |
artifact: android-engine-library-arm64 | |
build-options: platform=android production=yes tools=no target=release | |
rebel-executable: librebel.android.opt.armv8.so | |
- name: Build iOS Rebel Engine Library | |
os: macOS-latest | |
artifact: ios-engine-library-arm64 | |
build-options: platform=ios production=yes tools=no target=release | |
rebel-executable: librebel.ios.opt.arm64.a | |
- name: Build Web Rebel Engine | |
os: ubuntu-latest | |
artifact: web-engine | |
build-options: platform=web production=yes tools=no target=release | |
rebel-executable: rebel.web.opt.zip | |
steps: | |
- name: Checkout Rebel Build Action | |
uses: actions/checkout@v4 | |
- name: Build Rebel | |
uses: ./ | |
with: | |
artifact: ${{ matrix.artifact }} | |
build-options: ${{ matrix.build-options }} | |
rebel-executable: ${{ matrix.rebel-executable }} |