File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 6565# Report the current PHP version
6666echo " PHP: ` php --version | head -n 1` "
6767
68+ # If we're testing a specific version of libmongoc, update submodule sources
69+ if [ -n " $LIBMONGOC_VERSION " ]; then
70+ php scripts/update-submodule-sources.php
71+ fi
72+
6873phpize
6974./configure --enable-mongodb-developer-flags
7075
71- # If we're testing a specific version of libmongoc, regenerate the version file
76+ # configure relies on version information in libmongoc-version-current, but the target is not available until after calling configure
77+ # To work around this, run the make target, then run configure again
7278if [ -n " $LIBMONGOC_VERSION " ]; then
7379 make libmongoc-version-current
80+ ./configure --enable-mongodb-developer-flags
7481fi
7582
7683make test TESTS=" tests/smoketest.phpt"
Original file line number Diff line number Diff line change 1+ name : Merge up
2+
3+ on :
4+ push :
5+ branches :
6+ - " v[0-9]+.[0-9]+"
7+
8+ permissions :
9+ contents : write
10+ pull-requests : write
11+
12+ env :
13+ GH_TOKEN : ${{ github.token }}
14+
15+ jobs :
16+ merge-up :
17+ name : Create merge up pull request
18+ runs-on : ubuntu-latest
19+
20+ steps :
21+ - name : Checkout
22+ id : checkout
23+ uses : actions/checkout@v4
24+ with :
25+ # fetch-depth 0 is required to fetch all branches, not just the branch being built
26+ fetch-depth : 0
27+
28+ - name : Create pull request
29+ id : create-pull-request
30+ uses : alcaeus/automatic-merge-up-action@main
31+ with :
32+ ref : ${{ github.ref_name }}
33+ branchNamePattern : ' v<major>.<minor>'
34+ fallbackBranch : ' master'
You can’t perform that action at this time.
0 commit comments