[go: up one dir, main page]

Skip to content

Commit

Permalink
make detection of interface cgen races much easier, by running build_…
Browse files Browse the repository at this point in the history
…examples.vsh with VJOBS set to a high number, and without -no-parallel
  • Loading branch information
spytheman committed Oct 26, 2024
1 parent 9e415ea commit cfc1fc7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ jobs:
- name: Install dependencies
run: sudo apt update && sudo apt install --quiet -y libglfw3-dev libxi-dev libxcursor-dev
- name: Build UI examples
run: v run ${{ env.MOD_PATH }}/examples/build_examples.vsh
run: VJOBS=20 v run ${{ env.MOD_PATH }}/examples/build_examples.vsh
- name: Build users.v with -prod
run: v -prod ${{ env.MOD_PATH }}/examples/users.v
run: VJOBS=20 v -prod ${{ env.MOD_PATH }}/examples/users.v
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ jobs:
with:
check-latest: true
- name: Build UI examples
run: v run ${{ env.MOD_PATH }}/examples/build_examples.vsh
run: VJOBS=20 v run ${{ env.MOD_PATH }}/examples/build_examples.vsh
- name: Build users.v with -prod
run: v -prod ${{ env.MOD_PATH }}/examples/users.v
run: VJOBS=20 v -prod ${{ env.MOD_PATH }}/examples/users.v
2 changes: 1 addition & 1 deletion examples/build_examples.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mut err := 0
mut failures := []string{}
chdir(examples_dir)!
for entry_idx, entry in entries {
cmd := 'v -no-parallel ${entry}'
cmd := 'v ${entry}'
println_one_of_many('compile with: ${cmd}', entry_idx, entries.len)
ret := execute(cmd)
if ret.exit_code != 0 {
Expand Down

0 comments on commit cfc1fc7

Please sign in to comment.