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
|
vieter
|
||||||
dvieter
|
dvieter
|
||||||
pvieter
|
pvieter
|
||||||
dvieterctl
|
suvieter
|
||||||
vieterctl
|
afvieter
|
||||||
vieter.c
|
vieter.c
|
||||||
|
|
||||||
# Ignore testing files
|
# Ignore testing files
|
||||||
|
|
|
@ -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'
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -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=====
|
||||||
|
|
Loading…
Reference in New Issue