Commit graph

138 commits

Author SHA1 Message Date
Damien Elmes
49dc572d4c Revert "remove gif-lfs"
This reverts commit 39599a6c34.

Issue fixed.
2020-11-05 18:46:22 +10:00
Damien Elmes
39599a6c34 remove gif-lfs
https://github.com/actions/virtual-environments/issues/1983
2020-11-05 12:31:14 +10:00
Damien Elmes
6dff04456e migrate away from insecure add-path statement 2020-11-05 12:27:36 +10:00
Damien Elmes
470119d130 gettext and bazelisk come standard on macOS runner 2020-11-05 12:24:10 +10:00
Damien Elmes
b3af4d6652 show Bazel timestamps in CI 2020-11-05 12:23:06 +10:00
Damien Elmes
9c4368ec32 experiment with repo/disk cache instead of output root
edit to trigger rebuild
2020-11-05 12:07:01 +10:00
Damien Elmes
c7939cdc5c hash the lock files
GitHub's cache is not a great fit for Bazel, but this will do for now
2020-11-04 21:02:10 +10:00
Damien Elmes
eb5616e527 test caching; disable broken Windows build for now
edit to re-run tests
2020-11-01 20:08:08 +10:00
Damien Elmes
99b20cbaa6 update CI 2020-11-01 16:33:40 +10:00
Damien Elmes
44ac1e05b1 enforce eol normalization in gitattributes 2020-11-01 15:24:25 +10:00
Damien Elmes
7f8875293c drop 3.7 support in CI 2020-11-01 15:05:28 +10:00
Damien Elmes
cfbbb69648 trailing newline .ftl check can happen at build time
Removes the need to build ripgrep for CI
2020-11-01 14:59:45 +10:00
Damien Elmes
d62d5d91c9 bust cache 2020-10-10 19:39:21 +10:00
Damien Elmes
9ccba626f2 vendor rsync binary 2020-10-05 14:09:59 +10:00
Damien Elmes
00bba4d3cc disable pyenv cache on Linux
https://github.com/ankitects/anki/pull/681
2020-09-01 09:11:07 +10:00
Damien Elmes
c459e8d147 try pyenv cache again on macOS 2020-08-22 11:47:36 +10:00
Damien Elmes
ffd447a721 tar -> gnu-tar 2020-08-22 10:47:17 +10:00
Damien Elmes
50fc3dda07 try gnu tar workaround for CI cache
https://github.com/actions/cache/issues/403#issuecomment-678348989
2020-08-22 09:19:32 +10:00
Damien Elmes
9319401c8d attempt to work around https://github.com/actions/cache/issues/403 2020-08-21 20:05:44 +10:00
Damien Elmes
05abcd788e bust CI cache 2020-08-21 19:57:16 +10:00
Damien Elmes
9476d84e4c Revert "Merge pull request #729 from evandroforks/upload_rslib_artifacts"
This reverts commit 3adec8959b, reversing
changes made to 1dfe5b8165.

Issue tracked on https://github.com/actions/cache/issues/403
2020-08-21 19:56:17 +10:00
evandrocoan
07b7f979f6 Update to use the new version of actions/cache
Networking issues impacting cache save/restore
https://github.com/actions/cache/issues 267
2020-08-14 18:21:51 -03:00
evandrocoan
708b6fc16e Upload things so we can download it and compare to fix the bug
can't find crate for `prost_derive` which `prost_build`
https://github.com/ankitects/anki/pull 729
2020-08-10 12:05:24 -03:00
Henrik Giesel
1cb579dc9e Reset cargo rspy 2020-08-09 17:18:05 +02:00
Henrik Giesel
5afa196026 Reset the cargo rslib 2020-08-09 17:05:29 +02:00
Henrik Giesel
7d4c8da04b Reset the cargo registry 2020-08-09 17:01:22 +02:00
Henrik Giesel
6b954cba00 Reset cargo index cache by bumping its number from 22 to 23 2020-08-09 16:38:27 +02:00
Damien Elmes
0918c4a6bc bust cache again 2020-07-31 14:15:55 +10:00
Damien Elmes
860e70fa70 bust CI cache to hopefully fix Mac build issue 2020-07-30 09:44:23 +10:00
evandrocoan
c5f56166eb Set to to checks.yml not run check rules on tagged releases 2020-07-27 23:26:21 -03:00
evandrocoan
6af7c3d4e7 Update actions/upload-artifact@v1 to v2 as v1 is deprecated
Random error on Mac OS: [error]Too Many Requests
https://github.com/actions/toolkit/issues 503
2020-07-23 12:16:38 -03:00
Damien Elmes
bcc14bc18e one more attempt at fixing the problem by busting the cache 2020-07-11 09:09:49 +10:00
Damien Elmes
7302f0655c invalidate cache
in the hopes of fixing
https://github.com/ankitects/anki/runs/848327907
2020-07-08 14:34:23 +10:00
evandrocoan
901fb08584 Attempt to fix Python interpreter
Fix _addons/ URL prefix not being removed on Windows systems
https://github.com/ankitects/anki/pull 679
2020-07-06 20:05:31 -03:00
Damien Elmes
7643af00cd Revert "bump CI node version"
This reverts commit 400b25f6bf.

Was hoping this would fix the protobuf build issues on win32; it did not.
2020-06-29 17:42:19 +10:00
Damien Elmes
400b25f6bf bump CI node version 2020-06-29 17:19:08 +10:00
Damien Elmes
07d6d28655 add --fail to curl calls
closes #656 - thanks Evandro
2020-06-08 11:20:30 +10:00
Damien Elmes
5df1bf0ebf use mirror of Windows pyaudio wheels 2020-06-08 11:19:19 +10:00
Damien Elmes
7c58e695bf bust pyenv cache 2020-06-02 18:19:40 +10:00
evandrocoan
0b58d9b0e9 Fix misspelling of rsync variable name on checks.yml 2020-05-20 19:19:36 -03:00
evandrocoan
b8b1bb5c64 Deprecated pacman usage because its is failing out of nowhere,
probably a server is down. Anyways, directly unziping rsync is
faster. And soo, we will have builtin support for msys2:
https://github.com/actions/virtual-environments/pull 632
2020-05-18 23:49:28 -03:00
Damien Elmes
9762132f10 Merge pull request #611 from evandroforks/automatically_install_pyaudio_on_make_check
Automatically install pyaudio when running make check
2020-05-12 20:44:25 +10:00
evandrocoan
ae8b7842d9 Also reset checks.yml pyenv cache on Cargo.toml file changes
https://github.com/ankitects/anki/pull 612
2020-05-11 13:24:57 -03:00
siikamiika
ab0671030d bust caches 2020-05-11 13:24:21 -03:00
evandrocoan
6d07ad653b Automatically install pyaudio when running make check 2020-05-09 13:26:42 -03:00
evandrocoan
0fb64bcf20 Remove pyaudio as mandatory dependency
Pyaudio on Windows is difficult to install and complicates things
when someone is using the wheels just for autocomletion on IDEs as
PyCharm:
https://anki.tenderapp.com/discussions/add-ons/44009-problems-with-code-completion
2020-05-03 23:05:38 -03:00
evandrocoan
a8de7a7a96 Fixed GitHub Actios wheels upload tagged releases being overwritten 2020-05-01 17:36:09 -03:00
evandrocoan
5f83602540 Fixed checks.yml shellbang being put on the second line 2020-05-01 17:36:09 -03:00
Damien Elmes
284870ea8b re-enable pypi uploads
temporarily tagging this as 2.1.25, since these CI changes are required
for PyPi, and the packaged versions were made a few revisions back
2020-05-01 19:04:05 +10:00
Damien Elmes
df588ccc54 Merge pull request #601 from evandroforks/strip_buildhash_from_pypi
Strips the build hash from pypi package releases
2020-05-01 18:59:24 +10:00