Skip to content

Commit

Permalink
try GC_DONT_GC on the release build
Browse files Browse the repository at this point in the history
Domen gave me the hint that the crashes tend to happen in `nix` GC,
see e.g. NixOS/nix#4246
  • Loading branch information
ggreif committed Nov 19, 2021
1 parent 15cacdc commit 9040140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: "nix-build"
# these are the dependencies listed in release-files. Sorry for the duplication
run: |
nix-build --max-jobs 1 --argstr releaseVersion ${{needs.changelog.outputs.version}} \
env GC_DONT_GC=1 nix-build --max-jobs 1 --argstr releaseVersion ${{needs.changelog.outputs.version}} \
-A moc -A mo-ide -A mo-doc -A js.moc -A js.moc_interpreter
# Finally do the upload. Hopefully the previous job has uploaded the
Expand Down

0 comments on commit 9040140

Please sign in to comment.