ci: ensure that ubuntu-tcc rebuild twice v with tcc

pull/4783/head
Delyan Angelov 2020-05-08 08:46:06 +03:00
parent 722a2c71c3
commit 621429561c
1 changed files with 5 additions and 2 deletions

View File

@ -28,12 +28,15 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: sudo rm -f /etc/apt/sources.list.d/dotnetdev.list /etc/apt/sources.list.d/microsoft-prod.list; sudo apt-get update; sudo apt-get install --quiet -y libglfw3 libglfw3-dev libfreetype6-dev libssl-dev sqlite3 libsqlite3-dev libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev valgrind run: sudo rm -f /etc/apt/sources.list.d/dotnetdev.list /etc/apt/sources.list.d/microsoft-prod.list; sudo apt-get update; sudo apt-get install --quiet -y libglfw3 libglfw3-dev libfreetype6-dev libssl-dev sqlite3 libsqlite3-dev libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev valgrind
- name: Build v - name: Build v
run: echo $VFLAGS && make -j4 && ./v -cg -o v cmd/v run: |
echo $VFLAGS
make -j4
./v -cg -o v cmd/v
- name: Test v->c - name: Test v->c
run: | run: |
sudo ln -s /var/tmp/tcc/bin/tcc /usr/local/bin/tcc sudo ln -s /var/tmp/tcc/bin/tcc /usr/local/bin/tcc
tcc -version tcc -version
./v -o v2 cmd/v # Make sure vtcc can build itself ./v -cg -o v cmd/v # Make sure vtcc can build itself twice
# ./v -silent test-compiler # ./v -silent test-compiler
- name: Fixed tests - name: Fixed tests
run: ./v test-fixed run: ./v test-fixed