Commit Graph

129 Commits

Author SHA1 Message Date
Damien Elmes
5e602c553f enforce eol normalization in gitattributes 2020-11-01 15:24:25 +10:00
Damien Elmes
f61b6c0359 drop 3.7 support in CI 2020-11-01 15:05:28 +10:00
Damien Elmes
0cf964b16d 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
99af63d81c bust cache 2020-10-10 19:39:21 +10:00
Damien Elmes
ed3527ab52 vendor rsync binary 2020-10-05 14:09:59 +10:00
Damien Elmes
73cffc7cee disable pyenv cache on Linux
https://github.com/ankitects/anki/pull/681
2020-09-01 09:11:07 +10:00
Damien Elmes
aadc543163 try pyenv cache again on macOS 2020-08-22 11:47:36 +10:00
Damien Elmes
ec43c8657d tar -> gnu-tar 2020-08-22 10:47:17 +10:00
Damien Elmes
43f5db6480 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
9a8e6d8bdf attempt to work around https://github.com/actions/cache/issues/403 2020-08-21 20:05:44 +10:00
Damien Elmes
3001e0425d bust CI cache 2020-08-21 19:57:16 +10:00
Damien Elmes
e12df2bb1d Revert "Merge pull request #729 from evandroforks/upload_rslib_artifacts"
This reverts commit 7bdb014fbb, reversing
changes made to 4c052e8164.

Issue tracked on https://github.com/actions/cache/issues/403
2020-08-21 19:56:17 +10:00
evandrocoan
099971086f 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
c8cd97cf22 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
ce85169f13 Reset cargo rspy 2020-08-09 17:18:05 +02:00
Henrik Giesel
c4522ff56d Reset the cargo rslib 2020-08-09 17:05:29 +02:00
Henrik Giesel
79c2e31391 Reset the cargo registry 2020-08-09 17:01:22 +02:00
Henrik Giesel
1e5250cd0d Reset cargo index cache by bumping its number from 22 to 23 2020-08-09 16:38:27 +02:00
Damien Elmes
6de9030680 bust cache again 2020-07-31 14:15:55 +10:00
Damien Elmes
4b4e64e7c1 bust CI cache to hopefully fix Mac build issue 2020-07-30 09:44:23 +10:00
evandrocoan
a4e7a76ab7 Set to to checks.yml not run check rules on tagged releases 2020-07-27 23:26:21 -03:00
evandrocoan
380b0fb83c 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
bc5cf14854 one more attempt at fixing the problem by busting the cache 2020-07-11 09:09:49 +10:00
Damien Elmes
c50fa2c787 invalidate cache
in the hopes of fixing
https://github.com/ankitects/anki/runs/848327907
2020-07-08 14:34:23 +10:00
evandrocoan
b44c971d2c 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
ee204aa3e2 Revert "bump CI node version"
This reverts commit 93c8e48cd4.

Was hoping this would fix the protobuf build issues on win32; it did not.
2020-06-29 17:42:19 +10:00
Damien Elmes
93c8e48cd4 bump CI node version 2020-06-29 17:19:08 +10:00
Damien Elmes
75cbe6c0c2 add --fail to curl calls
closes #656 - thanks Evandro
2020-06-08 11:20:30 +10:00
Damien Elmes
21d800281b use mirror of Windows pyaudio wheels 2020-06-08 11:19:19 +10:00
Damien Elmes
cc4d0d3576 bust pyenv cache 2020-06-02 18:19:40 +10:00
evandrocoan
05f36bd05f Fix misspelling of rsync variable name on checks.yml 2020-05-20 19:19:36 -03:00
evandrocoan
30c76efaaa 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
436bdd6970
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
693c056cfb 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
e2938d5f7f bust caches 2020-05-11 13:24:21 -03:00
evandrocoan
4cf64519fb Automatically install pyaudio when running make check 2020-05-09 13:26:42 -03:00
evandrocoan
1e4748d45e 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
4df920884c Fixed GitHub Actios wheels upload tagged releases being overwritten 2020-05-01 17:36:09 -03:00
evandrocoan
ae7991f4b6 Fixed checks.yml shellbang being put on the second line 2020-05-01 17:36:09 -03:00
Damien Elmes
6046bbc779 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
b51ca01dcb
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
evandrocoan
7c5cc341ba Strips the build hash from pypi package releases
https://github.com/ankitects/anki/pull 535
2020-05-01 02:54:20 -03:00
evandrocoan
998e418a83 Set to checks.yml upload Python 3.8 wheels to PyPi 2020-05-01 01:07:47 -03:00
evandrocoan
cde8be654f Merge contrib.yml into checks.yml 2020-05-01 01:07:43 -03:00
evandrocoan
0e6cddb3ae Fixed tagged builds names not showing they are tagged 2020-04-30 16:48:41 -03:00
Damien Elmes
24113c81ec temporarily disable pypi upload 2020-04-30 13:51:20 +10:00
Damien Elmes
92292c8c05
Merge pull request #595 from evandroforks/set_github_actions_cache
Reset the GitHub Actions cache for pyenv for
2020-04-29 18:18:50 +10:00
evandrocoan
4e8bca2c3d Make the checks.yml OS name prettier 2020-04-29 03:38:40 -03:00
evandrocoan
14c85a56ee Reset the GitHub Actions cache for pyenv for
Fix astroid update breaking build
https://github.com/ankitects/pylint/pull/1
2020-04-29 03:22:12 -03:00
evandrocoan
aca5d177bf Fix macos not find gettex, msgfmt: command not found
https://github.com/ankitects/anki/runs/617116053?check_suite_focus=true#step:27:1244
Compiling *.po...
./scripts/build-mo-files: line 18: msgfmt: command not found
./scripts/build-mo-files: line 18: msgmerge: command not found
2020-04-25 05:17:18 -03:00