-
-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core) add support for FreeBSD x64
Close #421
- Loading branch information
Showing
39 changed files
with
1,099 additions
and
86 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,6 +209,50 @@ jobs: | |
- name: Build native | ||
run: ant -emacs compile-native -Dgcc.libpath.opengl=/usr/lib/${{matrix.TRIPLET}}/mesa | ||
|
||
freebsd-cross: | ||
name: FreeBSD Cross | ||
needs: cache-kotlinc | ||
runs-on: macos-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 3 | ||
fetch-tags: true | ||
- name: Install dependencies | ||
run: | | ||
mkdir jdk8 | ||
curl -L https://cdn.azul.com/zulu/bin/zulu8.72.0.17-ca-fx-jdk8.0.382-macosx_x64.tar.gz | tar xz -C jdk8 --strip-components 1 | ||
- name: Restore kotlinc output | ||
uses: actions/cache/restore@v3 | ||
with: | ||
path: | | ||
bin/classes/generator | ||
bin/classes/templates | ||
key: cache-kotlinc-${{ github.sha }} | ||
enableCrossOsArchive: true | ||
fail-on-cache-miss: true | ||
- name: Generate bindings | ||
run: ant -emacs clean-generated generate | ||
- name: Build Java | ||
run: ant -emacs compile | ||
- name: Build & Test | ||
uses: cross-platform-actions/[email protected] | ||
with: | ||
operating_system: freebsd | ||
architecture: x86-64 | ||
version: '13.2' | ||
memory: 8G | ||
shell: bash | ||
environment_variables: ANT_OPTS LWJGL_BUILD_TYPE | ||
run: | | ||
sudo pkg install -y openjdk8 apache-ant git gtk3 dbus | ||
ant -emacs compile-native | ||
ant -emacs tests | ||
ant demo -Dclass=org.lwjgl.demo.util.lz4.HelloLZ4 | ||
macos: | ||
name: macOS | ||
needs: cache-kotlinc | ||
|
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
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
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
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
Oops, something went wrong.
b693e56
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an ARM64 version of this considered or is it out of scope?