ci: ensure that ubuntu-tcc rebuild twice v with tcc
parent
722a2c71c3
commit
621429561c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue