Skip to content

Commit

Permalink
php-8.4-pecl-sqlsrv - use git checkout, enable updates
Browse files Browse the repository at this point in the history
  • Loading branch information
smoser committed Nov 20, 2024
1 parent 09f29e1 commit df2e09d
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions php-8.4-pecl-sqlsrv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ environment:
packages:
- autoconf
- automake
- bash
- binutils
- build-base
- busybox
Expand All @@ -32,23 +33,32 @@ environment:
- unixodbc-dev

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://pecl.php.net/get/sqlsrv-${{package.version}}.tgz
expected-sha256: a9ebb880b2a558d3d6684f6e6802c53c5bffa49e1ee60d1473a7124fc9cb72ad
repository: https://github.com/microsoft/msphpsql
tag: "v${{package.version}}"
expected-commit: 98ff5a8bd4c022cc15664f1478fab2d7629262da

- uses: pecl/phpize
- runs: |
cd source
bash ./packagize.sh
- uses: autoconf/make
- working-directory: source/sqlsrv
uses: pecl/phpize

- uses: pecl/install
- working-directory: source/sqlsrv
uses: autoconf/make

- working-directory: source/sqlsrv
uses: pecl/install
with:
extension: "sqlsrv"

- uses: strip

update:
enabled: false
exclude-reason: >
TODO(vaikas): I can find the releases in github but building it does not work with fetching from there like it does when you use fetch. Also seems like I can't watch the github repo for new releases, yet use the fetch above together?
enabled: true
github:
identifier: microsoft/msphpsql
strip-prefix: v
tag-filter: v

0 comments on commit df2e09d

Please sign in to comment.