Skip to content

Commit

Permalink
quick fix for downstream java build (#741)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Wells <[email protected]>
  • Loading branch information
andrewmwells-amazon authored Mar 20, 2024
1 parent 0f9df95 commit f7bd14a
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/build_downstream_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,21 @@ jobs:
repository: cedar-policy/cedar-java
ref: ${{ needs.get-branch-name.outputs.branch_name }}
path: ./cedar-java
- name: checkout cedar
uses: actions/checkout@v4
with:
path: cedar-java/cedar
- name: configure cedar-java
working-directory: cedar-java/CedarJava
shell: bash
run: bash config.sh run_int_tests
- name: build cedar-java/CedarJavaFFI
- name: Prepare Rust Build
run: rustup update stable && rustup default stable
- name: Check FFI Formatting
working-directory: cedar-java/CedarJavaFFI
run: RUSTFLAGS="-D warnings" cargo build
- name: build cedar-java/CedarJava
run: cargo fmt --all --check
- name: Install Zig
run: sudo snap install zig --beta --classic
- name: Build FFI and Java Libraries
working-directory: cedar-java/CedarJava
env:
MUST_RUN_CEDAR_INTEGRATION_TESTS: 1
run: ./gradlew build
- name: Generate Java Documentation
working-directory: cedar-java/CedarJava
run: export MUST_RUN_CEDAR_INTEGRATION_TESTS=1 && ./gradlew build
run: ./gradlew javadoc

build-cedar-examples-hello-world:
needs: get-branch-name
Expand Down

0 comments on commit f7bd14a

Please sign in to comment.