chore(ci): change debug build used

chore(ci): removed skip-unused-static experimental build

chore: updated Makefile
cron
Jef Roosens 2022-04-15 11:38:06 +02:00
parent 92ca5b8024
commit 20707f6af1
Signed by untrusted user: Jef Roosens
GPG Key ID: B75D4F293C7052DB
4 changed files with 7 additions and 19 deletions

4
.gitignore vendored
View File

@ -5,8 +5,8 @@ data/
vieter
dvieter
pvieter
dvieterctl
vieterctl
suvieter
afvieter
vieter.c
# Ignore testing files

View File

@ -9,15 +9,16 @@ matrix:
platform: ${PLATFORM}
pipeline:
# The default build isn't needed, as alpine switches to gcc for the compiler anyways
debug:
image: 'chewingbever/vlang:latest'
pull: true
group: 'build'
commands:
- make debug
- make
when:
event: push
branch:
exclude: [main, dev]
prod:
image: 'chewingbever/vlang:latest'

View File

@ -27,16 +27,3 @@ pipeline:
- du -h suvieter
when:
event: push
skip-unused-static:
image: 'chewingbever/vlang:latest'
pull: true
environment:
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static
group: 'build'
commands:
- make skip-unused
- readelf -d suvieter
- du -h suvieter
when:
event: push

View File

@ -24,7 +24,7 @@ dvieter: $(SOURCES)
# Run the debug build inside gdb
.PHONY: gdb
gdb: dvieter
gdb --args './dvieter -f vieter.toml server'
gdb --args ./dvieter -f vieter.toml server
# Optimised production build
.PHONY: prod
@ -75,7 +75,7 @@ v/v:
make -C v
clean:
rm -rf 'data' 'vieter' 'dvieter' 'pvieter' 'vieter.c' 'dvieterctl' 'vieterctl' 'pkg' 'src/vieter' *.pkg.tar.zst
rm -rf 'data' 'vieter' 'dvieter' 'pvieter' 'vieter.c' 'dvieterctl' 'vieterctl' 'pkg' 'src/vieter' *.pkg.tar.zst 'suvieter' 'afvieter'
# =====EXPERIMENTAL=====