Skip to content

Commit cfc1fc7

Browse files
committed
make detection of interface cgen races much easier, by running build_examples.vsh with VJOBS set to a high number, and without -no-parallel
1 parent 9e415ea commit cfc1fc7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ jobs:
4747
- name: Install dependencies
4848
run: sudo apt update && sudo apt install --quiet -y libglfw3-dev libxi-dev libxcursor-dev
4949
- name: Build UI examples
50-
run: v run ${{ env.MOD_PATH }}/examples/build_examples.vsh
50+
run: VJOBS=20 v run ${{ env.MOD_PATH }}/examples/build_examples.vsh
5151
- name: Build users.v with -prod
52-
run: v -prod ${{ env.MOD_PATH }}/examples/users.v
52+
run: VJOBS=20 v -prod ${{ env.MOD_PATH }}/examples/users.v

.github/workflows/macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ jobs:
4545
with:
4646
check-latest: true
4747
- name: Build UI examples
48-
run: v run ${{ env.MOD_PATH }}/examples/build_examples.vsh
48+
run: VJOBS=20 v run ${{ env.MOD_PATH }}/examples/build_examples.vsh
4949
- name: Build users.v with -prod
50-
run: v -prod ${{ env.MOD_PATH }}/examples/users.v
50+
run: VJOBS=20 v -prod ${{ env.MOD_PATH }}/examples/users.v

examples/build_examples.vsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ mut err := 0
2929
mut failures := []string{}
3030
chdir(examples_dir)!
3131
for entry_idx, entry in entries {
32-
cmd := 'v -no-parallel ${entry}'
32+
cmd := 'v ${entry}'
3333
println_one_of_many('compile with: ${cmd}', entry_idx, entries.len)
3434
ret := execute(cmd)
3535
if ret.exit_code != 0 {

0 commit comments

Comments
 (0)