ci: add a step in `misc-tooling`, to ensure `v -autofree -o v2 cmd/v` does not regress

pull/9343/head
Delyan Angelov 2021-03-16 23:04:42 +02:00
parent 05b51c5b01
commit a08e673581
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 6 additions and 1 deletions

View File

@ -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