Skip to content

Commit

Permalink
Simply Makefile usage with deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed May 28, 2024
1 parent 2894bfc commit eeb501c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,8 @@ jobs:
- name: Install devenv.sh
run: nix profile install nixpkgs#devenv

- name: Build bindings
run: |
devenv shell -- bash -c "make build-uniffi-bindings"
- name: Create Release Asset
run: make release-uniffi-bindings VERSION=${{ github.ref_name }}
- name: Create binding distribution
run: devenv shell -- bash -c "make release-uniffi-bindings VERSION=${{ github.ref_name }}"

- name: Set ARCH environment variable
run: echo "ARCH=$(uname -m)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-uniffi-bindings:
&& uniffi-bindgen-cs --config ./uniffi.toml ./src/interface.udl \
&& cargo build --release

release-uniffi-bindings:
release-uniffi-bindings: build-uniffi-bindings
mkdir -p dist/dnssec-prover
cp uniffi/src/dnssec_prover.cs dist/dnssec-prover
if [ "$(shell uname)" = "Darwin" ]; then \
Expand Down

0 comments on commit eeb501c

Please sign in to comment.