Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache dependencies to speed up build time #185

Open
neilenns opened this issue Oct 26, 2024 · 0 comments · May be fixed by #189
Open

Cache dependencies to speed up build time #185

neilenns opened this issue Oct 26, 2024 · 0 comments · May be fixed by #189

Comments

@neilenns
Copy link
Contributor

neilenns commented Oct 26, 2024

Making the official issue to track this. Cache vcpkg so builds don't take forever. Also look at caching afv-native and electron-builder.

neilenns added a commit to neilenns/TrackAudio that referenced this issue Oct 26, 2024
neilenns added a commit to neilenns/TrackAudio that referenced this issue Oct 26, 2024
neilenns added a commit to neilenns/TrackAudio that referenced this issue Oct 26, 2024
@neilenns neilenns changed the title Cache vcpkg to improve build times Cache dependencies to speed up build time Oct 27, 2024
@neilenns neilenns linked a pull request Oct 27, 2024 that will close this issue
GeorgeBarlow added a commit to GeorgeBarlow/TrackAudio that referenced this issue Feb 2, 2025
commit d1a3653
Merge: eacc0b9 4511442
Author: Neil Enns <neile@live.com>
Date:   Tue Nov 19 06:55:14 2024 -0800

    Merge branch 'main' into neilenns/issue185

commit eacc0b9
Author: Neil <neile@live.com>
Date:   Fri Nov 15 10:04:12 2024 -0800

    Force build

commit da418be
Author: Neil <neile@live.com>
Date:   Fri Nov 15 09:54:23 2024 -0800

    Fix afv-native and libuiohook caching. Oops.

commit 492f687
Author: Neil <neile@live.com>
Date:   Fri Nov 15 09:45:56 2024 -0800

    Force build

commit 8364642
Author: Neil <neile@live.com>
Date:   Fri Nov 15 09:05:30 2024 -0800

    Fix outputs definition

commit 0e6561d
Author: Neil <neile@live.com>
Date:   Fri Nov 15 09:04:16 2024 -0800

    Update windows version

commit cfbf1f9
Author: Neil <neile@live.com>
Date:   Fri Nov 15 09:03:03 2024 -0800

    Add libuiohook, clean up mistakes

commit 8244a64
Merge: 8c4273e 5b27bd5
Author: Neil <neile@live.com>
Date:   Fri Nov 15 08:54:30 2024 -0800

    Merge branch 'main' into neilenns/issue185

commit 8c4273e
Author: Neil <neile@live.com>
Date:   Tue Nov 5 08:11:31 2024 -0800

    Try using bash on Windows

commit 8f9a6f5
Merge: 8173ad0 d6085aa
Author: Neil Enns <neile@live.com>
Date:   Mon Nov 4 13:31:43 2024 -0800

    Merge branch 'main' into neilenns/issue185

commit 8173ad0
Author: Neil Enns <neile@live.com>
Date:   Mon Nov 4 13:21:03 2024 -0800

    Force rebuild

commit d0a5869
Author: Neil Enns <neile@live.com>
Date:   Mon Nov 4 13:15:37 2024 -0800

    Try using setup-node's cache instead

commit 0a5a544
Merge: 2762a51 9899d50
Author: Neil Enns <neile@live.com>
Date:   Mon Nov 4 10:20:37 2024 -0800

    Merge branch 'main' into neilenns/issue185

commit 2762a51
Author: Neil <neile@live.com>
Date:   Tue Oct 29 09:44:09 2024 -0700

    Fix npm install

commit 3e2d890
Author: Neil <neile@live.com>
Date:   Tue Oct 29 09:38:16 2024 -0700

    Revert npm ci

commit 8255819
Author: Neil <neile@live.com>
Date:   Tue Oct 29 09:35:40 2024 -0700

    Fix cache key, go back to ci

commit 0bfc4c5
Author: Neil <neile@live.com>
Date:   Tue Oct 29 09:26:00 2024 -0700

    Try switching back to npm install

commit b33025c
Merge: c6156d4 5ba0441
Author: Neil <neile@live.com>
Date:   Tue Oct 29 09:22:33 2024 -0700

    Merge remote-tracking branch 'upstream/main' into neilenns/issue185

commit c6156d4
Author: Neil <neile@live.com>
Date:   Tue Oct 29 09:17:53 2024 -0700

    Tweak npm caching and use npm ci

commit c8f8efe
Author: Neil <neile@live.com>
Date:   Mon Oct 28 13:40:29 2024 -0700

    Add additional comments

commit fe6a881
Author: Neil <neile@live.com>
Date:   Mon Oct 28 13:34:09 2024 -0700

    Force rebuild

commit 8ec77b4
Author: Neil <neile@live.com>
Date:   Mon Oct 28 13:26:45 2024 -0700

    Clean up comments, remove npm install

commit 34475e8
Author: Neil <neile@live.com>
Date:   Mon Oct 28 08:52:19 2024 -0700

    Fix OS typo

commit 5540b97
Author: Neil <neile@live.com>
Date:   Mon Oct 28 08:51:22 2024 -0700

    Try fixing electron-builder again

commit 7bc64f8
Author: Neil <neile@live.com>
Date:   Mon Oct 28 08:43:07 2024 -0700

    Add node_modules caching

commit baea6fc
Author: Neil <neile@live.com>
Date:   Mon Oct 28 08:33:19 2024 -0700

    Try using github.workspace

commit 1d2d10f
Author: Neil <neile@live.com>
Date:   Mon Oct 28 04:31:30 2024 -0700

    Add back ~

commit 81a65dc
Author: Neil <neile@live.com>
Date:   Mon Oct 28 04:27:00 2024 -0700

    Try without env

commit 7c60039
Author: Neil <neile@live.com>
Date:   Mon Oct 28 04:13:21 2024 -0700

    Temporarily disable electron-builder cache

commit dc06cc5
Author: Neil <neile@live.com>
Date:   Mon Oct 28 04:08:50 2024 -0700

    Force rebuild

commit ec19043
Author: Neil <neile@live.com>
Date:   Sun Oct 27 12:26:29 2024 -0700

    Force rebuild

commit 5da92e0
Author: Neil <neile@live.com>
Date:   Sun Oct 27 12:21:19 2024 -0700

    Fix typo

commit 6dd6119
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:59:36 2024 -0700

    Force rebuild

commit 3df35d5
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:52:22 2024 -0700

    Fix up terms

commit 6ab7f84
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:43:41 2024 -0700

    Force rebuild

commit 40027e6
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:35:40 2024 -0700

    Fix unix/macos

commit 190b0e4
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:34:40 2024 -0700

    Add shell

commit 27c0ec1
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:33:21 2024 -0700

    Try again

commit d8929aa
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:29:34 2024 -0700

    Try again

commit 4d08eff
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:26:19 2024 -0700

    Fix hashFiles on windows

commit 96670d9
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:20:58 2024 -0700

    Explicitly set electron-builder cache folders

commit ae056d7
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:11:03 2024 -0700

    Change cache to make it work on Windows

commit 7476fbd
Author: Neil <neile@live.com>
Date:   Sun Oct 27 10:10:19 2024 -0700

    Only cache afv-native during CI builds

commit 8a79cd0
Author: Neil <neile@live.com>
Date:   Sun Oct 27 09:35:50 2024 -0700

    Use backend/ for cache key

commit 52c27ff
Author: Neil <neile@live.com>
Date:   Sun Oct 27 05:05:15 2024 -0700

    Update release.yml

commit 63e9abe
Author: Neil <neile@live.com>
Date:   Sun Oct 27 04:56:37 2024 -0700

    Fix path again

commit 50b6d4f
Author: Neil <neile@live.com>
Date:   Sun Oct 27 04:55:02 2024 -0700

    Fix trackaudio-afv path

commit 8a10fc3
Author: Neil <neile@live.com>
Date:   Sun Oct 27 04:51:34 2024 -0700

    Add shell

commit c9779c1
Author: Neil <neile@live.com>
Date:   Sun Oct 27 04:48:36 2024 -0700

    Fix path

commit d636996
Author: Neil <neile@live.com>
Date:   Sun Oct 27 04:47:27 2024 -0700

    Fix restore-cache composite action

commit 8e343d8
Author: Neil <neile@live.com>
Date:   Sun Oct 27 04:46:02 2024 -0700

    Try splitting restore cache to a composite action

commit bd0ae4e
Author: Neil <neile@live.com>
Date:   Sun Oct 27 04:32:58 2024 -0700

    Try caching afv-native

commit 370c10e
Author: Neil <neile@live.com>
Date:   Sat Oct 26 20:27:08 2024 -0700

    Get rid of fallback cache keys

commit 6f94cfe
Author: Neil <neile@live.com>
Date:   Sat Oct 26 20:19:55 2024 -0700

    force rebuild

commit 81e48ad
Author: Neil <neile@live.com>
Date:   Sat Oct 26 20:12:51 2024 -0700

    Fix restore-keys

commit 4e86f1e
Author: Neil <neile@live.com>
Date:   Sat Oct 26 20:08:55 2024 -0700

    Add OS to electron-builder cache key

commit 5fb07b2
Author: Neil <neile@live.com>
Date:   Sat Oct 26 20:07:13 2024 -0700

    force rebuild

commit 8f18e2e
Author: Neil <neile@live.com>
Date:   Sat Oct 26 20:00:34 2024 -0700

    Try caching electron-builder

commit f55ee7c
Author: Neil <neile@live.com>
Date:   Sat Oct 26 19:54:50 2024 -0700

    Get rid of afv-native change

commit 3c2fd77
Author: Neil <neile@live.com>
Date:   Sat Oct 26 19:50:40 2024 -0700

    force rebuild

commit ee7a3e4
Author: Neil <neile@live.com>
Date:   Sat Oct 26 19:40:16 2024 -0700

    Add afv-native caching

commit 3a5c674
Author: Neil Enns <neile@live.com>
Date:   Sat Oct 26 19:05:54 2024 -0700

    Force rebuild

commit dc3c6ab
Merge: db54cf3 65fc40f
Author: Neil Enns <neile@live.com>
Date:   Sat Oct 26 18:49:21 2024 -0700

    Merge branch 'main' into neilenns/issue185

commit db54cf3
Author: Neil <neile@live.com>
Date:   Sat Oct 26 16:04:14 2024 -0700

    Clean up build step names

commit 2474894
Author: Neil <neile@live.com>
Date:   Sat Oct 26 16:02:38 2024 -0700

    Try echoing again

commit bea2f99
Author: Neil <neile@live.com>
Date:   Sat Oct 26 16:00:41 2024 -0700

    Echo the revision, fix release.yml

commit 40b0e34
Author: Neil <neile@live.com>
Date:   Sat Oct 26 15:57:39 2024 -0700

    Add vcpkg caching
    Fixes pierr3#185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant