From a08e67358162c3f601da0777d1ca29792d79c5d1 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 16 Mar 2021 23:04:42 +0200 Subject: [PATCH] ci: add a step in `misc-tooling`, to ensure `v -autofree -o v2 cmd/v` does not regress --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 784b76ce53..ae40fca969 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,7 +116,8 @@ jobs: sudo apt-get install --quiet -y xfonts-75dpi xfonts-base - name: Build v run: make - - name: ensure v up works + + - name: Ensure v up works run: | ./v cmd/tools/oldv.v ./cmd/tools/oldv -v HEAD^^^^^ @@ -126,6 +127,10 @@ jobs: ./v version ./v -o v2 cmd/v ./v2 -o v3 cmd/v + + - name: Ensure V can be compiled with -autofree + run: ./v -autofree -o v2 cmd/v ## NB: this does not mean it runs, but at least keeps it from regressing + - name: Shader examples can be build run: | wget https://github.com/floooh/sokol-tools-bin/archive/pre-feb2021-api-changes.tar.gz