Commit Graph

74 Commits

Author SHA1 Message Date
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
evandrocoan
8b8be3e3f3 Fixed misspelling Mac OS with a space on the build matrix 2020-03-26 02:46:18 -03:00
evandrocoan
96d572c3cc Merged all workflows together using build matrixes 2020-03-26 02:11:34 -03:00
evandrocoan
e1252b785d Fixed checks.yml Mac OS gmake PATH being set on Ubuntu 2020-03-26 01:20:00 -03:00
evandrocoan
c8e2c25e83 Fix Mac OS checks.yml caches being rebuilt by stop using
the CARGO_TARGET_DIR and CARGO_INDEX_DIR variables:
https://github.com/ankitects/anki/pull 528
2020-03-25 22:42:37 -03:00
evandrocoan
b94936a98d Update make to use the new .SHELLFLAGS feature
https://github.com/ankitects/anki/pull 528
2020-03-25 19:05:31 -03:00
evandrocoan
1965cdb2b8 Set to use ankitects/setup-protoc@master instead of the original
repository with a `repo-token` until know whether it is safe to
pass the GitHub token around:
https://github.com/actions/virtual-environments/issues 602
2020-03-25 19:05:31 -03:00
evandrocoan
b77462eb8a Fixed lower case of runs-on: macos-latest
Accordingly to the documentation the name is lower case:
https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
2020-03-25 19:05:31 -03:00
evandrocoan
206e167f85 Set curl to run silently, added missing double quotes and removed
trailing backslash on checks.yml
2020-03-25 00:05:49 -03:00
evandrocoan
721453f923 Merge remote-tracking branch 'danielelmes/master' into create_actions_for_windows_macos
# Conflicts:
#	.github/scripts/trailing-newlines.sh
#	.github/workflows/checks.yml
#	Makefile
#	pylib/Makefile
#	qt/Makefile
#	qt/tools/typecheck-setup.sh
#	rspy/Makefile
2020-03-24 22:49:49 -03:00
evandrocoan
a0971628a6 Set to run first develop build and check rules 2020-03-24 22:28:46 -03:00
evandrocoan
d1337badab Merged mac_checks.yml and windows_checks.yml into checks.yml 2020-03-24 22:28:46 -03:00
evandrocoan
716989135c Renamed linux_checks.yml to checks.yml 2020-03-24 22:28:46 -03:00
evandrocoan
bcda7ecc29 Fixed bash call by bash using other bashes on the system PATH 2020-03-24 22:28:46 -03:00
evandrocoan
18aec3c713 Re-enabled the mac_checks.yml after fixing the rate limit issue 2020-03-24 22:28:46 -03:00
evandrocoan
136cd4da7c Fixed not all rust libraries being cached 2020-03-24 22:28:46 -03:00
Damien Elmes
beee1f10e0 possible CI fix 2020-03-25 09:45:50 +10:00
Damien Elmes
d5cbd78798 use forked proto action 2020-03-24 15:50:40 +10:00
evandrocoan
131aee1a82 Appended a number by default on every cache key to easily force
its regeneration by hand.
2020-03-24 00:31:50 -03:00
evandrocoan
508f8df47f Fixed pyaudio and rename not being setup when pacman cache is used 2020-03-24 00:31:50 -03:00
evandrocoan
cfbd7ba108 Added the develop rule to run first and install things
before running tests and the build to properly measure the total
time of each stage.
2020-03-24 00:31:50 -03:00
evandrocoan
19dab43aae Moved the cache actions to the top of the file 2020-03-24 00:31:50 -03:00
evandrocoan
8e43016248 Renamed the mac_checks.yml until it get fixed 2020-03-24 00:31:50 -03:00
evandrocoan
4ff6e35a2c Cache pacman package manager and upload python wheels 2020-03-24 00:31:50 -03:00
evandrocoan
f908566252 Created .github/workflows/mac_checks.yml 2020-03-24 00:31:46 -03:00
evandrocoan
b5a1cf3a14 Cache rust libraries 2020-03-23 19:51:23 -03:00
evandrocoan
20c9837770 Created the .github/workflows/windows.yml
# Conflicts:
#	.github/scripts/trailing-newlines.sh
#	Makefile
#	qt/tools/typecheck-setup.sh
#	react/Makefile
#	rspy/Makefile
#	svelte/Makefile
#	tslib/Makefile
2020-03-23 19:51:03 -03:00
evandrocoan
b1b3e5b87c Merge remote-tracking branch 'danielelmes/master' into fix_tests_on_windows
# Conflicts:
#	.github/scripts/trailing-newlines.sh
2020-03-23 18:44:11 -03:00
Damien Elmes
1f8a1126a4 don't require trailing whitespace in .sql files 2020-03-21 07:49:44 +10:00
evandrocoan
1ade1a1a0f Fixed moved comment line on qt/aqt/main.py, long variables names on
pylib/Makefile and qt/Makefile, and rg --version not going to /dev/null
on .github/scripts/trailing-newlines.sh
2020-03-18 11:36:50 -03:00
evandrocoan
d6f900647b Fixed trailing-newlines.sh not failing when rg is not installed 2020-03-17 19:48:15 -03:00
Damien Elmes
2ed7e3d1cd ignore .json files 2020-03-14 19:36:03 +10:00
Damien Elmes
4465d65bd5 add required --classic 2020-03-09 19:25:03 +10:00
Damien Elmes
c428541e06 sudo required 2020-03-09 19:22:15 +10:00
Damien Elmes
aedb2d0d4a try the ripgrep snap 2020-03-09 19:09:13 +10:00
Damien Elmes
5724c18ec1 install ripgrep in CI 2020-03-09 19:02:36 +10:00
Damien Elmes
1bde8d72bb check for files without a final newline 2020-03-09 18:57:55 +10:00
Damien Elmes
5ea8a59139 match Alan's patch 2020-02-27 12:52:00 +10:00
Damien Elmes
34fcbf6af8 pipefail requires removing -q
https://github.com/ankitects/anki/pull/464#discussion_r384485166
2020-02-27 12:50:11 +10:00