Skip to content

Commit ee0a995

Browse files
committed
formatting
1 parent 815634b commit ee0a995

6 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
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"
@@ -54,6 +57,7 @@ jobs:
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"

.github/workflows/sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
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

scripts/build-dockerfile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
44

55
HEROKUSTACK="$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}/..

scripts/build-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

scripts/create-dockerfile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ cat ${SCRIPT_DIR}/../vendor/heroku/heroku-buildpack-php/support/build/_docker/${
99
cat <<EOF >> "${SCRIPT_DIR}/../docker/build/${HEROKUSTACK}.Dockerfile"
1010
ENV WORKSPACE_DIR=/workspace
1111
ENV PATH=/app/vendor/heroku/heroku-buildpack-php/support/build/_util:\$PATH
12-
EOF
12+
EOF

scripts/setup-local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ composer install --working-dir=${SCRIPT_DIR}/.. --prefer-dist --no-progress --no
99
cp ${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

0 commit comments

Comments
 (0)