Skip to content

Commit

Permalink
XTC Kotlin build DSL through XTC Plugin, XDK artifact publications. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lagergren authored Jan 28, 2024
1 parent 395b4ee commit 6da08ee
Show file tree
Hide file tree
Showing 121 changed files with 8,850 additions and 1,554 deletions.
1 change: 1 addition & 0 deletions .editorconfig
26 changes: 0 additions & 26 deletions .github/workflows/gradle.yml

This file was deleted.

47 changes: 47 additions & 0 deletions .github/workflows/xvm-verify-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#
# GitHub runner workflow for building, verifying and testing the XVM repo.
#
# It also does some quick sanity check that we can provide release artifacts. This latter part
# will be implemented in much better detail when we have a marge to master and minimal effort
# GitHub release plugin integration, so we can automate release generation.
#
# TODO: Add a release workflow, and a distribution creation workflow. Reuse parts of the
# "xdk-release" repo, that can run the cross product of aarch64, amd64, Linux, Windows and
# MacOS, including creating the Windows "exe" installer, on any platform with Nsis.
#
# TODO: Add workflow jobs in another GitHub workflow configuration that builds SNAPSHOT releases
# when a PR is merged into master.
#
# TODO: Discuss what other kinds of GitHub workflow actions we need. This can be anything
# from cron jobs that run every night, to containerization tests/efforts/creations.
#

name: XVM Repository build, test and verification runner.

on: push

env:
ORG_XTCLANG_PLUGIN_VERBOSE: true
ORG_XTCLANG_BUILD_SANITY_CHECK_RUNTIME: true
ORG_XTCLANG_BUILD_SANITY_CHECK_RUNTIME_FORCE_REBUILD: false

jobs:
gradle:
# If we do not specify a version here, the runner will pick up whatever Gradle version
# that is defined by our wrapper, which is exactly what we want.
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Verify Gradle Build
run: ./gradlew build --info
- name: Verify Gradle Install
run: ./gradlew installLocalDist --info
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
*.com
*.class
*.dll
*.exe
*.o
*.so
*.dSYM
Expand Down Expand Up @@ -58,9 +57,21 @@ prj/
.idea/
.gradle/
!gradle-wrapper.jar
!javatools_launcher/src/main/resources/javatools/javatools.jar
!javatools_launcher/src/main/resources/exe/*

# File-based project format IDEA (legacy)
*.iml
*.ipr
*.iws

# Eventually, after code reformatting and package renaming, we want an .editorconfig in the root.
# Right now, to phase that in, we allow an .editorconfig symlink in the root pointing out another
# not yet 100% project standard .editorconfig personal to the user, symlinked from here. Hence,
# right now, the root directory .editorconfig should be ignored by Git until after the new code
# conventions have been decided upon, and have enforcement tools in place as part of the build.
.editorconfig

# Gradle profiler output
gradle-user-home/
profile-out/
1 change: 1 addition & 0 deletions GROUP
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.xtclang
Loading

0 comments on commit 6da08ee

Please sign in to comment.