Rick Winfrey
bbfa2401a2
For correctness
...
Co-Authored-By: Patrick Thomson <2498+patrickt@users.noreply.github.com>
2020-09-02 11:09:27 -07:00
Patrick Thomson
dcac715207
Merge remote-tracking branch 'origin/master' into eight-dot-ten-patrickt
2020-07-23 09:21:23 -04:00
Rob Rix
de98cd0f6b
Use 8.10.1 in cabal.
2020-07-16 15:05:11 -04:00
Rob Rix
9884c84edf
🔥 the doctest run.
2020-07-16 14:32:39 -04:00
Patrick Thomson
f3e70bee25
Cache the home directory's build folder for now.
...
It means that we can't keep more than a couple around, but... one
should suffice, right? The Cabal cache is pretty small.
2020-07-13 13:39:41 -04:00
Patrick Thomson
5de187af73
Revert "can we cache even harder?"
...
This reverts commit 950880d655
.
2020-07-10 17:12:18 -04:00
Patrick Thomson
950880d655
can we cache even harder?
2020-07-10 16:19:15 -04:00
Patrick Thomson
32d7ef7e42
Use http_archive to download the example repositories.
2020-07-10 15:50:03 -04:00
Patrick Thomson
140fd0338e
Try caching the .cache folder in the home directory
...
Even though that shouldn't even work.
2020-07-10 14:30:58 -04:00
Patrick Thomson
80dc211d6f
This keeps downloading no matter what we do.
2020-07-10 14:28:08 -04:00
Patrick Thomson
f8409856d8
Don't redownload Bazel if it's in the cache.
2020-07-10 14:22:35 -04:00
Patrick Thomson
eb9db76406
Try not building all and see if it helps
2020-07-10 13:56:22 -04:00
Patrick Thomson
d89940ffc2
let's assume there's a bin directory here
2020-07-10 13:13:08 -04:00
Patrick Thomson
c8f387c148
don't die
2020-07-10 13:11:41 -04:00
Patrick Thomson
93f0c90980
Download our own Bazel and see if that works better.
2020-07-10 13:10:19 -04:00
Patrick Thomson
541f3eb86c
Simpler caching strategy.
2020-07-10 12:59:56 -04:00
Patrick Thomson
16408bac5a
silence the shallow_since errors
2020-07-10 11:12:28 -04:00
Patrick Thomson
18bd87cd5c
again with the parentheses
2020-07-10 10:53:26 -04:00
Patrick Thomson
e17ec90274
one more try
2020-07-10 10:51:44 -04:00
Patrick Thomson
e6fc72f1d7
syntax TERROR
2020-07-10 10:50:22 -04:00
Patrick Thomson
505418d385
Did I forget this id or something?
2020-07-10 10:49:06 -04:00
Patrick Thomson
cdafffc02f
I guess you can't use alternation in hashFile patterns
2020-07-10 10:37:00 -04:00
Patrick Thomson
4335c643ac
if this doesn't help, I don't know what will
2020-07-10 10:28:22 -04:00
Patrick Thomson
cc1d463d86
maybe this will be even smarter
2020-07-10 10:18:20 -04:00
Patrick Thomson
60a9baf799
Cut down on Bazel time
2020-07-10 10:14:50 -04:00
Patrick Thomson
d150bb5986
This will absolutely blow the cache. It better.
2020-07-09 10:59:30 -04:00
Patrick Thomson
cc97854a9b
Store bazel-repo in the cache as well.
2020-07-09 10:34:17 -04:00
Patrick Thomson
88b91ba0af
can't have an empty strategy
2020-07-09 09:45:52 -04:00
Patrick Thomson
e83e13907c
better naming
2020-07-08 17:56:46 -04:00
Patrick Thomson
7833f3ff17
Better caching strategy
2020-07-08 17:54:56 -04:00
Patrick Thomson
67276250a8
Let's see if a Bazel build works.
2020-07-08 17:52:06 -04:00
Rob Rix
f431f8c5f8
Build semantic-source in CI in the same manner as everything else.
2020-07-07 09:36:22 -07:00
Timothy Clem
4509ddfc1f
New semantic-tags:test
2020-07-07 07:27:25 -07:00
Patrick Thomson
a67310e257
Specify the executable build target.
2020-06-26 14:14:40 -04:00
Patrick Thomson
a2bb471f00
Silence warnings from CI.
2020-06-23 17:48:37 -04:00
Ayman Nadeem
e76f069dd0
remove semantic-python:test:graphing
2020-06-08 12:04:22 -04:00
Ayman Nadeem
aa8569732b
remove test-suite component 'compiling'
2020-06-08 11:29:16 -04:00
Patrick Thomson
ab6661b9c4
Make sure we always run cabal-cache.
2020-05-20 14:12:47 -04:00
Patrick Thomson
22e19c7b5c
I forgot a leading bar in this YAML.
...
YAML is not my favorite format.
2020-05-20 14:09:35 -04:00
Patrick Thomson
55494f9311
One too many characters in the matching clause.
2020-05-20 11:54:58 -04:00
Patrick Thomson
564ded558e
Fix syntax errors.
2020-05-20 11:52:23 -04:00
Patrick Thomson
0fa0a63b0d
Dynamically change cache keys based on cabal files' hash.
...
The problem with our caching approach up until now is that we've been
hitting Actions caches too often. As we `cabal update` and `cabal
configure`, our build plan strays farther and farther from what's
present in the cache, resulting in more and more cache missed from
`cabal`. The fix here is to hash a file that's changed reasonably
often and to use that to key the caches, falling back on the most
recently used cache present on a miss.
2020-05-20 11:51:07 -04:00
Patrick Thomson
700197f993
See if we can elide other caches.
2020-05-20 10:41:56 -04:00
Patrick Thomson
e6933b2792
Revert.
2020-05-20 10:38:28 -04:00
Patrick Thomson
51e765b6ca
See if eliding the configuration step will help builds.
2020-05-20 10:33:09 -04:00
Patrick Thomson
731c8022f3
Change key so we don't get a false cache hit.
2020-05-20 09:31:48 -04:00
Patrick Thomson
f7169955bb
Try new approach to caching.
2020-05-20 09:06:33 -04:00
Rick Winfrey
d55db8893a
Merge branch 'master' into precise-ql-tagging
2020-03-27 11:52:48 -07:00
Rick Winfrey
980ba035e7
Add version numbers to the remaining cache keys
2020-03-23 16:42:52 -07:00
Rick Winfrey
1318cae6bd
Oops, these are not cache keys, these are action names
2020-03-23 16:42:33 -07:00