forked from vieter-v/vieter
chore(ci): change debug build used
chore(ci): removed skip-unused-static experimental build chore: updated Makefilemain
parent
92ca5b8024
commit
20707f6af1
|
@ -5,8 +5,8 @@ data/
|
|||
vieter
|
||||
dvieter
|
||||
pvieter
|
||||
dvieterctl
|
||||
vieterctl
|
||||
suvieter
|
||||
afvieter
|
||||
vieter.c
|
||||
|
||||
# Ignore testing files
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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=====
|
||||
|
|
Loading…
Reference in New Issue