| 1 |
name: Verifying libpng on Linux |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
branches: |
| 6 |
- libpng16 |
| 7 |
- libpng18 |
| 8 |
pull_request: |
| 9 |
branches: |
| 10 |
- libpng16 |
| 11 |
- libpng18 |
| 12 |
|
| 13 |
jobs: |
| 14 |
verify-linux: |
| 15 |
runs-on: ubuntu-latest |
| 16 |
timeout-minutes: 10 |
| 17 |
steps: |
| 18 |
- name: Install dependencies |
| 19 |
run: | |
| 20 |
sudo apt-get update -qq |
| 21 |
sudo apt-get install -y --no-install-recommends build-essential zlib1g-dev |
| 22 |
if [[ "${{ github.ref }}" != refs/*/libpng16 && "${{ github.base_ref }}" != libpng16 ]] |
| 23 |
then |
| 24 |
sudo apt-get install -y --no-install-recommends autoconf automake libtool m4 |
| 25 |
fi |
| 26 |
- name: Check out the code |
| 27 |
uses: actions/checkout@v4 |
| 28 |
- name: Run the configure verification script |
| 29 |
run: bash ./ci/ci_verify_configure.sh |
| 30 |
env: |
| 31 |
CI_MAKE_FLAGS: -j2 |
| 32 |
CI_SANITIZERS: address,undefined |