File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313jobs :
1414 build :
15- name : Build PHP ${{ matrix.series.php }} for ${{ matrix.stack.name }}
15+ name : Build PHP ${{ matrix.series.php }} ( ${{ matrix.stack.name }}, ${{ matrix.stack.arch }})
1616 runs-on : ${{ matrix.stack.os }}
1717 timeout-minutes : 20
1818 env :
@@ -27,14 +27,17 @@ jobs:
2727 matrix :
2828 stack :
2929 - name : " heroku-22"
30+ arch : " amd64"
3031 prefix : " dist-heroku-22-develop/"
3132 upstream : " dist-heroku-22-stable/"
3233 os : " ubuntu-latest"
3334 - name : " heroku-24"
35+ arch : " amd64"
3436 prefix : " dist-heroku-24-amd64-develop/"
3537 upstream : " dist-heroku-24-amd64-stable/"
3638 os : " ubuntu-latest"
3739 - name : " heroku-24"
40+ arch : " arm64"
3841 prefix : " dist-heroku-24-arm64-develop/"
3942 upstream : " dist-heroku-24-arm64-stable/"
4043 os : " ubuntu-24.04-arm"
5457 # heroku-24 cannot compile openswoole 4.12.1 anymore, include for heroku-22 only
5558 - stack :
5659 name : " heroku-22"
60+ arch : " amd64"
5761 prefix : " dist-heroku-22-develop/"
5862 upstream : " dist-heroku-22-stable/"
5963 os : " ubuntu-latest"
Original file line number Diff line number Diff line change 4545
4646 - name : Build Dockerfile
4747 run : ./scripts/create-dockerfile.sh ${{ matrix.stack.name }}
48-
48+
4949 - name : Docker build
5050 run : ./scripts/build-dockerfile.sh ${{ matrix.stack.name }}
5151
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
44
55HEROKUSTACK=" $1 " # e.g. "heroku-24"
66
7- docker build --pull --tag " $HEROKUSTACK " --file " docker/build/${HEROKUSTACK} .Dockerfile" ${SCRIPT_DIR} /..
7+ docker build --pull --tag " $HEROKUSTACK " --file " docker/build/${HEROKUSTACK} .Dockerfile" ${SCRIPT_DIR} /..
Original file line number Diff line number Diff line change @@ -42,4 +42,4 @@ docker run --rm \
4242$HEROKUSTACK \
4343${COMMAND} ${OVERWRITE_FLAG} libraries/${LIBNAME} -${LIBVERSION}
4444
45- set +x
45+ set +x
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ cat ${SCRIPT_DIR}/../vendor/heroku/heroku-buildpack-php/support/build/_docker/${
99cat << EOF >> "${SCRIPT_DIR} /../docker/build/${HEROKUSTACK} .Dockerfile"
1010ENV WORKSPACE_DIR=/workspace
1111ENV PATH=/app/vendor/heroku/heroku-buildpack-php/support/build/_util:\$ PATH
12- EOF
12+ EOF
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ composer install --working-dir=${SCRIPT_DIR}/.. --prefer-dist --no-progress --no
99cp ${SCRIPT_DIR} /../vendor/heroku/heroku-buildpack-php/requirements.txt .
1010
1111# Create environment file
12- cp ${SCRIPT_DIR} /../.env.example ${SCRIPT_DIR} /../.env
12+ cp ${SCRIPT_DIR} /../.env.example ${SCRIPT_DIR} /../.env
You can’t perform that action at this time.
0 commit comments