Skip to content

Commit

Permalink
ci: try fixing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Apr 2, 2024
1 parent f2a27dc commit 75a1496
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/golang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,16 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev
sudo mkdir -p /usr/local/lib/pkgconfig
- name: Install cargo-c
run: cargo install cargo-c

- name: Build and install Rust library
run: cargo cinstall -p yara-x-capi --release
run: cargo cinstall -p yara-x-capi --release --pkgconfigdir=${{ github.workspace }}

- name: Run Go tests
run: |
cd go
go test
go test
env:
PKG_CONFIG_PATH: ${{ github.workspace }}

0 comments on commit 75a1496

Please sign in to comment.