Added experimental builds to CI
ci/woodpecker/push/arch unknown status
Details
ci/woodpecker/push/docker unknown status
Details
ci/woodpecker/push/build_experimental Pipeline failed
Details
ci/woodpecker/push/lint Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/test Pipeline was successful
Details
ci/woodpecker/push/arch unknown status
Details
ci/woodpecker/push/docker unknown status
Details
ci/woodpecker/push/build_experimental Pipeline failed
Details
ci/woodpecker/push/lint Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/test Pipeline was successful
Details
parent
c8fc683384
commit
cd8fd78616
|
@ -0,0 +1,25 @@
|
|||
# These builds are not important for the project, but might be valuable for
|
||||
# fixing bugs in the V compiler.
|
||||
|
||||
platform: linux/amd64
|
||||
branches:
|
||||
exclude: [master, dev]
|
||||
|
||||
pipeline:
|
||||
autofree:
|
||||
image: 'chewingbever/vlang:latest'
|
||||
pull: true
|
||||
group: 'build'
|
||||
commands:
|
||||
- make autofree
|
||||
when:
|
||||
event: push
|
||||
|
||||
skip-unused:
|
||||
image: 'chewingbever/vlang:latest'
|
||||
pull: true
|
||||
group: 'build'
|
||||
commands:
|
||||
- make skip-unused
|
||||
when:
|
||||
event: push
|
21
Makefile
21
Makefile
|
@ -7,6 +7,7 @@ V := $(V_PATH) -showcc -gc boehm
|
|||
|
||||
all: vieter
|
||||
|
||||
|
||||
# =====COMPILATION=====
|
||||
# Regular binary
|
||||
vieter: $(SOURCES)
|
||||
|
@ -33,19 +34,21 @@ pvieter: $(SOURCES)
|
|||
|
||||
# Only generate C code
|
||||
.PHONY: c
|
||||
c:
|
||||
c: $(SOURCES)
|
||||
$(V) -o vieter.c $(SRC_DIR)
|
||||
|
||||
|
||||
# =====EXECUTION=====
|
||||
# Run the server in the default 'data' directory
|
||||
.PHONY: run
|
||||
run: vieter
|
||||
./vieter -f vieter.toml server
|
||||
./vieter -f vieter.toml server
|
||||
|
||||
.PHONY: run-prod
|
||||
run-prod: prod
|
||||
./pvieter -f vieter.toml server
|
||||
|
||||
|
||||
# =====OTHER=====
|
||||
.PHONY: lint
|
||||
lint:
|
||||
|
@ -72,4 +75,16 @@ v/v:
|
|||
make -C v
|
||||
|
||||
clean:
|
||||
rm -rf 'data' 'vieter' 'dvieter' 'pvieter' 'vieter.c' 'dvieterctl' 'vieterctl' 'pkg' 'src/vieter'
|
||||
rm -rf 'data' 'vieter' 'dvieter' 'pvieter' 'vieter.c' 'pkg' 'src/vieter' 'afvieter' 'suvieter'
|
||||
|
||||
|
||||
# =====EXPERIMENTAL=====
|
||||
.PHONY: autofree
|
||||
autofree: afvieter
|
||||
afvieter: $(SOURCES)
|
||||
$(V_PATH) -showcc -autofree -o afvieter $(SRC_DIR)
|
||||
|
||||
.PHONY: skip-unused
|
||||
skip-unused: suvieter
|
||||
suvieter: $(SOURCES)
|
||||
$(V_PATH) -showcc -skip-unused -o suvieter $(SRC_DIR)
|
||||
|
|
Loading…
Reference in New Issue