File: build-mapscript-php.yml

package info (click to toggle)
mapserver 8.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,492 kB
  • sloc: ansic: 137,759; cpp: 124,149; python: 3,175; xml: 1,722; yacc: 1,114; cs: 1,001; sh: 836; lex: 778; java: 588; perl: 489; makefile: 383; tcl: 158; ruby: 55
file content (38 lines) | stat: -rw-r--r-- 798 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build and test PHP MapScript

on:
  push:
    branches:
      - '*'
    except:
      - /^(cherry-pick-)?backport-\d+-to-/
  pull_request:
    branches:
      - '*'
    except:
      - /^(cherry-pick-)?backport-\d+-to-/

concurrency:
  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  cancel-in-progress: true

permissions:
  contents: read

jobs:
  build:
    runs-on: ubuntu-24.04
    strategy:
      matrix:
        php-version: [8.5, 8.4]

    steps:
      - name: Checkout code
        uses: actions/checkout@v5

      - name: Set up PHP and Install Dependencies
        run: |
            docker run \
            -e WORK_DIR="$PWD" \
            -e PHP_VERSION="${{ matrix.php-version }}" \
            -v $PWD:$PWD ubuntu:24.04 $PWD/scripts/build-mapscript-php.sh