Commit Graph

112 Commits

Author SHA1 Message Date
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
evandrocoan
a5061b5a34 trailing-newlines.sh should exit with error code 1 otherwise
the script will not fail/stop.
2020-04-22 20:08:17 -03:00
evandrocoan
e46421c7c9 Fixed ripgrep not installing on ubuntu anymore
https://github.com/BurntSushi/ripgrep#installation
https://github.com/BurntSushi/ripgrep/issues/1232

N.B. Various snaps for ripgrep on Ubuntu are also available, but none of them seem to work right and generate a number of very strange bug reports that I don't know how to fix and don't have the time to fix. Therefore, it is no longer a recommended installation option.)
2020-04-20 20:28:38 -03:00
evandrocoan
3e3cd3b132 Attempt to fix macos cache breaking for no reason
https://github.com/ankitects/anki/pull/560/checks?check_run_id=590022813
2020-04-15 18:46:47 -03:00
evandrocoan
8b9b3c005f Stop installing rename as it is already bundled 2020-04-15 04:19:54 -03:00
evandrocoan
3f8d9f2451 Fix caches always missing 2020-04-10 23:00:11 -03:00
evandrocoan
e1cb04c45d Set checks.yml pyenv and pip wheels cache keys as multiline strings 2020-04-03 01:27:40 -03:00
evandrocoan
efe319ec95 Deprecated sdist wheels and pyqtwebengine as dependency 2020-04-02 22:56:48 -03:00
evandrocoan
50e9780e66 Set to build a source distribution instead of build distribution
for aqt on qt/Makefile, because .whl files are just zip simple
zip files and do not support dynamic versioning. Also, there is no
restriction for aqt to be shipped as source tarball because it does
not ship any binaries.
2020-04-02 22:56:37 -03:00
evandrocoan
3dd474288d Set to Windows build check to pass all wheels to pip at once 2020-04-02 22:56:29 -03:00
evandrocoan
000c4c6428 Fixed checks.yml hashFiles not using the correct glob pattern
This project requirements files are named .txt and .dev
2020-04-02 22:56:24 -03:00
evandrocoan
1962456821 Set to checks.yml install and import anki wheels
# Conflicts:
#	.github/workflows/checks.yml
2020-04-02 22:56:13 -03:00
evandrocoan
58ba764cb6 Fixed old cache making build fail
# Conflicts:
#	.github/workflows/checks.yml
2020-04-02 14:47:10 -03:00
evandrocoan
069cc11a86 Created the GitHub Actions step Upload to PyPi to run only on
tagged releases of anki:
https://anki.tenderapp.com/discussions/ankidesktop/40025-anki-in-python-package-index
2020-04-02 02:57:34 -03:00
evandrocoan
3f8cc60abc Re-enabled the rust cargo index and registry caches because
cargo was downloading them just for nothing.
https://github.com/ankitects/anki/pull 528
2020-03-27 02:21:48 -03:00
evandrocoan
9bd28f151f Disabled the caches of cargo registry, index and python wheels 2020-03-27 00:21:09 -03:00
evandrocoan
76bf3f8a03 Created a fast build matrix for quickly running the Unit Tests 2020-03-26 19:43:16 -03:00
evandrocoan
1e40103325 Moved RSPY_TARGET_DIR and CARGO_TARGET_DIR to the top 2020-03-26 03:04:47 -03:00