ci: add a `v.c can be compiled and run with -os cross` step on the macos job too
parent
f5a22f15d9
commit
83d492bcb8
|
@ -319,6 +319,13 @@ jobs:
|
||||||
./v cmd/tools/test_if_v_test_system_works.v
|
./v cmd/tools/test_if_v_test_system_works.v
|
||||||
./cmd/tools/test_if_v_test_system_works
|
./cmd/tools/test_if_v_test_system_works
|
||||||
|
|
||||||
|
- name: v.c can be compiled and run with -os cross
|
||||||
|
run: |
|
||||||
|
./v -os cross -o /tmp/v.c cmd/v
|
||||||
|
cc -g -std=gnu11 -w -o v_from_vc /tmp/v.c -lm -lpthread
|
||||||
|
ls -lart v_from_vc
|
||||||
|
./v_from_vc version
|
||||||
|
|
||||||
- name: Self tests
|
- name: Self tests
|
||||||
run: VJOBS=1 ./v -silent test-self
|
run: VJOBS=1 ./v -silent test-self
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue