mirror of
https://github.com/facebook/zstd.git
synced 2025-12-09 00:03:18 -05:00
Merge pull request #3267 from Tachi107/pkg-config-ci
ci: test pkg-config file
This commit is contained in:
commit
43962d72e6
16
.github/workflows/dev-short-tests.yml
vendored
16
.github/workflows/dev-short-tests.yml
vendored
@ -410,6 +410,22 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sde-external-9.0.0-2021-11-07-lin/sde -cet -cet-raise 0 -cet-endbr-exe -cet-stderr -cet-abort -- ./zstd -b3
|
sde-external-9.0.0-2021-11-07-lin/sde -cet -cet-raise 0 -cet-endbr-exe -cet-stderr -cet-abort -- ./zstd -b3
|
||||||
|
|
||||||
|
pkg-config:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: debian:testing
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
apt -y update
|
||||||
|
apt -y install --no-install-recommends gcc libc6-dev make pkg-config
|
||||||
|
- name: Build and install
|
||||||
|
run: make -C lib install
|
||||||
|
- name: Test pkg-config
|
||||||
|
run: |
|
||||||
|
cc -Wall -Wextra -Wpedantic -Werror -o simple examples/simple_compression.c $(pkg-config --cflags --libs libzstd)
|
||||||
|
./simple LICENSE
|
||||||
|
|
||||||
|
|
||||||
# This test currently fails on Github Actions specifically.
|
# This test currently fails on Github Actions specifically.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user