Skip to content

Commit

Permalink
Resolve out of memory errors by using 2 cores
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw committed Dec 5, 2022
1 parent dfea782 commit 256de52
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,14 @@ jobs:
Move-Item "C:\Program Files\Git\bin" "C:\Program Files\Git\notbin"
- name: Build GTK3
if: matrix.gtk-version == '3'
run: poetry run gvsbuild build gtk3 gtksourceview4 graphene glib-networking
run: >
poetry run gvsbuild build --ninja-opts -j2 gtk3 gtksourceview4 graphene
glib-networking
- name: Build GTK4
if: matrix.gtk-version == '4'
run: >
poetry run gvsbuild build --enable-gi cairo gtk4 libadwaita gtksourceview5
gobject-introspection adwaita-icon-theme hicolor-icon-theme
poetry run gvsbuild build --ninja-opts -j2 --enable-gi cairo gtk4 libadwaita
gtksourceview5 gobject-introspection adwaita-icon-theme hicolor-icon-theme
- name: Restore git binary
run: |
Move-Item "C:\Program Files\Git\usr\notbin" "C:\Program Files\Git\usr\bin"
Expand Down

0 comments on commit 256de52

Please sign in to comment.