chore(ci): change debug build used

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

chore: updated Makefile
pull/134/head
Jef Roosens 2022-04-15 11:38:06 +02:00
parent 92ca5b8024
commit 20707f6af1
Signed by: 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 vieter
dvieter dvieter
pvieter pvieter
dvieterctl suvieter
vieterctl afvieter
vieter.c vieter.c
# Ignore testing files # Ignore testing files

View File

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

View File

@ -27,16 +27,3 @@ pipeline:
- du -h suvieter - du -h suvieter
when: when:
event: push 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 # Run the debug build inside gdb
.PHONY: gdb .PHONY: gdb
gdb: dvieter gdb: dvieter
gdb --args './dvieter -f vieter.toml server' gdb --args ./dvieter -f vieter.toml server
# Optimised production build # Optimised production build
.PHONY: prod .PHONY: prod
@ -75,7 +75,7 @@ v/v:
make -C v make -C v
clean: 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===== # =====EXPERIMENTAL=====