-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f126a8
commit c0d3453
Showing
8 changed files
with
107 additions
and
23 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 |
---|---|---|
|
@@ -7,12 +7,30 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
fail-fast: true | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: mlugg/setup-zig@v1 | ||
|
||
- name: Prepare java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '22' | ||
|
||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
cli: latest | ||
|
||
- name: install tools | ||
run: | | ||
wget -O jextract.tar.gz https://download.java.net/java/early_access/jextract/22/5/openjdk-22-jextract+5-33_linux-x64_bin.tar.gz | ||
tar -xvzf jextract.tar.gz | ||
sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libxfixes-dev libwayland-dev libxkbcommon-dev | ||
- name: install bake | ||
run: | | ||
git clone https://github.com/SanderMertens/bake | ||
|
@@ -21,41 +39,79 @@ jobs: | |
- name: compile and jextract native modules | ||
run: | | ||
bake --strict | ||
bin/ci.sh | ||
- name: run test | ||
run: | | ||
bin/kaocha | ||
build-macos: | ||
runs-on: macOS-latest | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
fail-fast: true | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: mlugg/setup-zig@v1 | ||
|
||
- name: Prepare java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '22' | ||
|
||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
cli: latest | ||
|
||
- name: install tools | ||
run: | | ||
wget -O jextract.tar.gz https://download.java.net/java/early_access/jextract/22/5/openjdk-22-jextract+5-33_macos-aarch64_bin.tar.gz | ||
tar -xvzf jextract.tar.gz | ||
- name: install bake | ||
run: | | ||
git clone https://github.com/SanderMertens/bake | ||
make -C bake/build-$(uname) | ||
bake/bake setup | ||
# TODO install zig | ||
|
||
- name: compile and jextract native modules | ||
run: | | ||
bin/ci.sh | ||
- name: run test | ||
run: | | ||
bin/kaocha | ||
build-windows: | ||
runs-on: windows-latest | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
fail-fast: true | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
- uses: mlugg/setup-zig@v1 | ||
|
||
- name: Prepare java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '22' | ||
|
||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
cli: latest | ||
|
||
- name: install tools | ||
run: | | ||
wget -O jextract.tar.gz https://download.java.net/java/early_access/jextract/22/5/openjdk-22-jextract+5-33_windows-x64_bin.tar.gz | ||
tar -xvzf jextract.tar.gz | ||
- name: install bake | ||
run: | | ||
git clone https://github.com/SanderMertens/bake | ||
|
@@ -65,4 +121,8 @@ jobs: | |
./bake setup --local | ||
- name: compile and jextract native modules | ||
run: bake/bake --strict --cfg release | ||
run: bin/ci.sh | ||
|
||
- name: run test | ||
run: | | ||
bin/kaocha |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
clojure -M:test "$@" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#kaocha/v1 {} |