Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,25 @@ on:
- libpng16
- libpng18

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Set up the cache
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pip.txt') }}
restore-keys: ${{ runner.os }}-pip-
- name: Install yamllint
run: pip install yamllint
- name: Install editorconfig-checker
uses: editorconfig-checker/action-editorconfig-checker@main
uses: editorconfig-checker/action-editorconfig-checker@840e866d93b8e032123c23bac69dece044d4d84c # main
- name: Check out the code
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Run the linting script
run: bash ./ci/ci_lint.sh
7 changes: 5 additions & 2 deletions .github/workflows/verify-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
- libpng16
- libpng18

permissions:
contents: read

jobs:
verify-linux:
runs-on: ubuntu-latest
Expand All @@ -22,12 +25,12 @@ jobs:
run: |
sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends build-essential zlib1g-dev
if [[ "${{ github.ref }}" != refs/*/libpng16 && "${{ github.base_ref }}" != libpng16 ]]
if [[ "${{ github.ref_name }}" != libpng16 && "${{ github.base_ref }}" != libpng16 ]]
then
sudo apt-get install -y --no-install-recommends autoconf automake libtool m4
fi
- name: Check out the code
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Run the configure verification script
run: bash ./ci/ci_verify_configure.sh
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/verify-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ on:
- libpng16
- libpng18

permissions:
contents: read

jobs:
verify-macos:
runs-on: macos-latest
timeout-minutes: 10
steps:
- name: Check out the code
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Run the CMake verification script
run: bash ./ci/ci_verify_cmake.sh
env:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/verify-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
- libpng16
- libpng18

permissions:
contents: read

jobs:
verify-windows:
strategy:
Expand All @@ -30,7 +33,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Set up vcpkg cache
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: C:/vcpkg/installed
key: ${{ runner.os }}-vcpkg-${{ matrix.vcpkg_triplet }}-${{ hashFiles('vcpkg.json', '**/vcpkg.json') }}
Expand All @@ -40,7 +43,7 @@ jobs:
vcpkg install zlib:${{ matrix.vcpkg_triplet }}
vcpkg integrate install
- name: Check out the code
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Run the CMake verification script
run: bash ./ci/ci_verify_cmake.sh
env:
Expand Down