Commit Graph

52 Commits

Author SHA1 Message Date
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
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
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
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
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
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
95404ed2d7 test possible CI speed-up 2020-02-24 21:23:51 +10:00
Damien Elmes
5827535a65 update before apt install to fix CI 2020-02-05 17:47:16 +10:00
Damien Elmes
4fc6184f80 remove stray character 2020-01-07 18:44:44 +10:00
Damien Elmes
8b94d69abc bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00
Damien Elmes
1c1fbde733 move top level scripts into makefile 2020-01-04 12:21:58 +10:00
Damien Elmes
de36c893bf CI fixes 2020-01-03 16:37:43 +10:00
Damien Elmes
1d361f5fe4 add missing gettext dependency 2020-01-02 20:52:12 +10:00
Damien Elmes
b23b6fbe35 move the separate components back into this monorepo
Earlier today I pushed a change that split this code up into multiple
repos, but that has proved to complicate things too much. So we're
back to a single repo, except the individual submodules are better
separated than they were before.

The README files need updating again; I will push them out soon.

Aside from splitting out the different modules, the sound code has
moved from from anki to aqt.
2020-01-02 19:43:19 +10:00
Damien Elmes
7f71380314 fix for isort failing to install in CI 2019-12-25 12:13:28 +10:00
Damien Elmes
b681c7aad3 add protoc to github actions 2019-12-25 10:26:16 +10:00
Damien Elmes
079657893c speed up CI build 2019-12-24 19:57:54 +10:00