Skip to content

Isolate LWJGL3 and redo renderer #1877

Isolate LWJGL3 and redo renderer

Isolate LWJGL3 and redo renderer #1877

Workflow file for this run

# Build Workflow
name: Build
on:
pull_request:
workflow_dispatch:
push:
branches-ignore:
- master
- main
paths-ignore:
- 'README.md'
- '.github/**'
- '.editorconfig'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
- 'SECURITY.md'
- 'LICENSE'
- '.gitattributes'
- '.gitignore'
concurrency:
group: ${{ github.head_ref || format('{0}-{1}', github.ref, github.run_number) }}
cancel-in-progress: true
permissions:
pull-requests: write
contents: write
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
name: CI/CD Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: |
8
16
17
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
add-job-summary-as-pr-comment: always
add-job-summary: always
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"
gradle-home-cache-cleanup: true
validate-wrappers: true
cache-read-only: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/v1' }}
- name: Sync project and build legacy jar
run: ./gradlew :modules:dependencies:legacy build
- name: Build
run: ./gradlew build
- name: Test publication
run: ./gradlew publishToMavenLocal
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: oneconfig-artifacts
path: versions/**/build/libs/