Compare commits

..

No commits in common. "82b54622dee62a7513f731786a868c36c398019a" and "ed75dea2d6632973ba75bf4139b968f4e24b7cb7" have entirely different histories.

6 changed files with 12 additions and 51 deletions

View File

@ -1,7 +1,6 @@
# These checks already get performed on the feature branches # These checks already get performed on the feature branches
branches: branches:
exclude: [ main, dev ] exclude: [ main, dev ]
platform: linux/amd64
pipeline: pipeline:
vieter: vieter:
@ -23,6 +22,3 @@ pipeline:
group: 'build' group: 'build'
commands: commands:
- make prod - make prod
# Make sure the binary is actually static
- readelf -d pvieter
- '[ "$(readelf -d pvieter | grep NEEDED | wc -l)" = 0 ]'

View File

@ -1,28 +0,0 @@
# These checks already get performed on the feature branches
branches:
exclude: [ main, dev ]
platform: linux/arm64
pipeline:
vieter:
image: 'chewingbever/vlang:latest'
group: 'build'
commands:
- make vieter
debug:
image: 'chewingbever/vlang:latest'
group: 'build'
commands:
- make debug
prod:
image: 'chewingbever/vlang:latest'
environment:
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static
group: 'build'
commands:
- make prod
# Make sure the binary is actually static
- readelf -d pvieter
- '[ "$(readelf -d pvieter | grep NEEDED | wc -l)" = 0 ]'

View File

@ -1,15 +1,13 @@
branches: dev branches: dev
platform: linux/amd64
pipeline: pipeline:
publish: publish:
image: woodpeckerci/plugin-docker-buildx image: plugins/docker
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
settings: settings:
repo: chewingbever/vlang repo: chewingbever/vlang
tag: latest tag: latest
dockerfile: Dockerfile.builder dockerfile: Dockerfile.builder
platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ]
when: when:
event: push event: push
path: Dockerfile.builder path: Dockerfile.builder

View File

@ -1,7 +1,6 @@
# These checks already get performed on the feature branches # These checks already get performed on the feature branches
branches: branches:
exclude: [ main, dev ] exclude: [ main, dev ]
platform: linux/amd64
pipeline: pipeline:
lint: lint:

View File

@ -1,5 +1,4 @@
branches: [main, dev] branches: [main, dev]
platform: linux/amd64
pipeline: pipeline:
dev: dev:
@ -24,6 +23,3 @@ pipeline:
when: when:
event: tag event: tag
branch: main branch: main
depends_on:
- builder

View File

@ -8,10 +8,10 @@ ENV VVV /opt/vlang
ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV VFLAGS -cc gcc ENV VFLAGS -cc gcc
RUN mkdir -p /opt/vlang && \ RUN mkdir -p /opt/vlang && ln -s /opt/vlang/v /usr/bin/v
ln -s /opt/vlang/v /usr/bin/v && \
apk --no-cache add \ RUN apk --no-cache add \
git make gcc \ git make upx gcc bash \
musl-dev \ musl-dev \
openssl-libs-static openssl-dev \ openssl-libs-static openssl-dev \
zlib-static bzip2-static xz-dev expat-static zstd-static lz4-static \ zlib-static bzip2-static xz-dev expat-static zstd-static lz4-static \