Skip to content

Commit

Permalink
wip2
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeodrippe committed Jul 22, 2024
1 parent 4f126a8 commit a19a2a3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@ 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: install jextract
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
- name: install bake
run: |
git clone https://github.com/SanderMertens/bake
Expand All @@ -21,26 +26,29 @@ jobs:
- name: compile and jextract native modules
run: |
bake --strict
bin/ci.sh
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: install jextract
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
Expand All @@ -49,13 +57,18 @@ jobs:
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: install jextract
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
Expand All @@ -65,4 +78,4 @@ jobs:
./bake setup --local
- name: compile and jextract native modules
run: bake/bake --strict --cfg release
run: bin/ci.sh
4 changes: 4 additions & 0 deletions bin/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
set -ex

git submodule update --init --recursive

export VYBE_JEXTRACT=jextract-22/bin/jextract
bin/jextract-libs.sh

clj -T:build compile-app

0 comments on commit a19a2a3

Please sign in to comment.