Skip to content

Commit 37e6b8f

Browse files
committed
delete workflows that do not matter
Signed-off-by: Robert Landers <landers.robert@gmail.com>
1 parent 76ce211 commit 37e6b8f

4 files changed

Lines changed: 16 additions & 350 deletions

File tree

.github/workflows/build-cli.yaml

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,6 @@ on:
1313
branches:
1414
- v2
1515
jobs:
16-
build-linux:
17-
strategy:
18-
fail-fast: false
19-
matrix:
20-
platform: [ 'amd64', 'arm64' ]
21-
runs-on: self-hosted
22-
steps:
23-
- uses: actions/checkout@v4
24-
- name: Configure QEMU
25-
uses: docker/setup-qemu-action@v3
26-
- name: Configure docker
27-
uses: docker/setup-buildx-action@v3
28-
with:
29-
platforms: ${{ matrix.platform }}
30-
- name: Expose GitHub Runtime
31-
uses: crazy-max/ghaction-github-runtime@v3
32-
- name: Build sources
33-
run: |
34-
echo "${{ secrets.GITHUB_TOKEN }}" > TOKEN
35-
docker buildx build --secret id=github-token,src=./TOKEN --cache-to type=gha,mode=max,scope=${{ matrix.platform }} --cache-from type=gha,scope=${{ matrix.platform }} --pull --load --platform linux/${{ matrix.platform }} --target cli-base-alpine -t builder .
36-
- name: Copy build
37-
run: |
38-
docker create --name builder builder
39-
docker cp builder:/go/src/app/cli/dist/dphp bin/dphp
40-
- name: Archive artifacts
41-
uses: actions/upload-artifact@v4
42-
with:
43-
name: dphp-${{ runner.os }}-${{ matrix.platform }}
44-
path: bin/dphp
4516
build-docker:
4617
runs-on: self-hosted
4718
outputs:
@@ -108,53 +79,6 @@ jobs:
10879
builder: ${{ steps.buildx.outputs.name }}
10980
cache-from: type=gha,scope=image
11081
platforms: linux/amd64
111-
build-osx:
112-
strategy:
113-
fail-fast: false
114-
matrix:
115-
platform: [ 'arm64', 'x86_64' ]
116-
runs-on: ${{ matrix.platform == 'arm64' && 'macos-14' || 'macos-13' }}
117-
env:
118-
HOMEBREW_NO_AUTO_UPDATE: 1
119-
steps:
120-
- uses: actions/checkout@v4
121-
- uses: actions/setup-go@v5
122-
with:
123-
cache-dependency-path: cli/go.sum
124-
go-version-file: cli/go.mod
125-
- name: Configure Version
126-
run: |
127-
if [ "${GITHUB_REF_TYPE}" == "tag" ]; then
128-
export VERSION=${GITHUB_REF_NAME:1}
129-
else
130-
export VERSION=${GITHUB_SHA}
131-
fi
132-
133-
echo "VERSION=${VERSION}" >> "${GITHUB_ENV}"
134-
- name: Configure cache
135-
uses: actions/cache@v4
136-
with:
137-
path: dist
138-
key: ${{ matrix.platform }}-${{ hashFiles('cli/*.mod') }}
139-
- name: Run doctor
140-
run: |
141-
export GITHUB_TOKEN "${{ secrets.GITHUB_TOKEN }}"
142-
BUILD=no cli/build-php.sh
143-
- name: Build php
144-
run: |
145-
export GITHUB_TOKEN "${{ secrets.GITHUB_TOKEN }}"
146-
cli/build-php.sh
147-
- name: Build cli
148-
run: |
149-
export GITHUB_TOKEN "${{ secrets.GITHUB_TOKEN }}"
150-
cd cli && ./build.sh
151-
- run: ls -lah cli/dist/
152-
- run: ls -lah dist/ || true
153-
- name: Archive artifacts
154-
uses: actions/upload-artifact@v4
155-
with:
156-
name: dphp-${{ runner.os }}-${{ matrix.platform }}
157-
path: cli/dist/dphp
15882
performance-test:
15983
name: Performance Test
16084
needs:

Dockerfile

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ RUN apk update; \
2929
m4 \
3030
make \
3131
pkgconfig \
32-
php83 \
33-
php83-common \
34-
php83-ctype \
35-
php83-curl \
36-
php83-dom \
37-
php83-mbstring \
38-
php83-openssl \
39-
php83-pcntl \
40-
php83-phar \
41-
php83-posix \
42-
php83-session \
43-
php83-sodium \
44-
php83-tokenizer \
45-
php83-xml \
46-
php83-xmlwriter \
32+
php84 \
33+
php84-common \
34+
php84-ctype \
35+
php84-curl \
36+
php84-dom \
37+
php84-mbstring \
38+
php84-openssl \
39+
php84-pcntl \
40+
php84-phar \
41+
php84-posix \
42+
php84-session \
43+
php84-sodium \
44+
php84-tokenizer \
45+
php84-xml \
46+
php84-xmlwriter \
4747
upx \
4848
wget \
4949
xz ; \
@@ -54,6 +54,7 @@ ENV PHP_EXTENSIONS="apcu,bcmath,bz2,calendar,ctype,curl,dba,dom,exif,fileinfo,fi
5454
ENV PHP_EXTENSION_LIBS="bzip2,freetype,libavif,libjpeg,libwebp,libzip"
5555

5656
WORKDIR /go/src/app
57+
COPY .git /go/src/app/.git
5758
COPY cli/build-php.sh .
5859
RUN --mount=type=secret,id=github-token GITHUB_TOKEN=$(cat /run/secrets/github-token) BUILD=no ./build-php.sh
5960
RUN --mount=type=secret,id=github-token GITHUB_TOKEN=$(cat /run/secrets/github-token) ./build-php.sh

cli/build-php.sh

Lines changed: 0 additions & 124 deletions
This file was deleted.

cli/build.sh

Lines changed: 0 additions & 135 deletions
This file was deleted.

0 commit comments

Comments
 (0)