Commit Graph

96 Commits

Author SHA1 Message Date
Hiroshi Miura
63dcb8731a chore: update release binary build
- Bump python@3.12
- use macos-13 from macos-latest

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-05-04 14:41:58 +09:00
Hiroshi Miura
79a991146c Revert "chore: update release binary build"
This reverts commit 930eb2b598.
2024-05-04 14:40:38 +09:00
Hiroshi Miura
930eb2b598 chore: update release binary build
- Bump python@3.12
- use macos-13 from macos-latest

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-04-28 01:18:15 +09:00
Andrew Wason
452c85cd64 Fix workflows failing when fetching tags 2024-03-05 09:55:18 -05:00
Hiroshi Miura
447cce1429 chore: update CI execution trigger/schedule (#735)
* chore: update CI execution trigger/schedule

- Full tests weekly on master
- Change trigger for GitHub actions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: suppress azure-pipelines on pr/push

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2023-11-14 23:06:18 +09:00
Steveice10
e4664705c8 Add macOS builds to release artifacts. 2023-11-02 20:10:16 -07:00
Dave Dalcino
5fe119e093 Run on pull request 2023-09-17 08:53:08 -07:00
Dave Dalcino
16317321b2 Fix OS check 2023-09-17 08:44:18 -07:00
Dave Dalcino
ac6375301f add debug statement for qt6 2023-09-17 08:36:53 -07:00
David Dalcino
a3fe237a19 Use python 3.8 instead of 3.9 (covered in Azure pipeline) 2023-09-17 07:45:43 -07:00
David Dalcino
bb6ab09938 Add python 3.9 & 3.11 to test-install-qt.yml 2023-09-17 07:36:43 -07:00
Dave Dalcino
a998d4368b Pin checkout at v3 in all workflows
This fixes some CI warnings about using obsolete versions of NodeJS.
NodeJS 12 (from checkout@2) is at EOL, and CI warnings recommend using
NodeJS 16. The docs for actions/checkout recommend pinning at v3.

Some of these workflows were using `checkout@master`, and were thereby
already using NodeJS 16. I'm not sure that it's necessary to use v3
for these instead of master. However, the docs suggest using v3.
If at some point the authors decide to rename the `master` branch to
`main`, then we may be glad we made this change.
2023-02-11 11:31:23 -08:00
Hiroshi Miura
a5bc8a688f Github Actions: Update CI condition
- check mypy and lint tool on python 3.9
- Install check on python 3.10
- Publish to pypi on python 3.10
- Tox test on python 3.8, 3.10, 3.11

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-11-20 15:20:27 +09:00
Hiroshi Miura
37c4f70665 Standalone binary built with PyInstaller
- Call PyInstaller directly from builder script
  - Drop depenency to gravitybee
- Change artifact path `dist/` on ci, test and upload scripts
- Move standalone builder python script in `tools`
  - Also add pseudo launcher script in `tools` for PyInstaller
- Actions: Update binary build and release scripts
  - Binary is built on venv that is removed after built
  - Support not only Windows but also linux/mac
  - Built on powershell on Windows, bash on others
- Clean up duplicated configurations on setup.cfg
  - Leaves `entry_points` and `package_data` options

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-10-29 12:04:09 +09:00
Hiroshi Miura
e322912679 Actions: Fix publish pypi
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 11:49:26 +09:00
Hiroshi Miura
ef1f6ec65a Actions: fix upload artifact script
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 11:18:08 +09:00
Hiroshi Miura
cadaac9f8d Actions: fix pypa/pypi-publish@release/v1
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 09:37:41 +09:00
Hiroshi Miura
bc76ee5bac Actions: bump versions
- actions/setup-python@v4
- Use pypa/gh-action-pypi-publish@v1
  this fix a warning:
  You are using "pypa/gh-action-pypi-publish@master".
  The "master" branch of this project has been sunset
  and will not receive any updates, not even security
  bug fixes.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 09:32:20 +09:00
Hiroshi Miura
d3c24d8387 CI: bump target python version to 3.9 (#575)
* CI: bump target python version to 3.9

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 08:35:06 +09:00
Hiroshi Miura
b625d73f50 CI: Fix check-combinations
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-19 22:51:38 +09:00
Hiroshi Miura
73d0a16cca Update standalone binary build scripts (#565)
- Introduce build_standalone.py
- CI: update standalone build method
- Genearte pseudo script to trick pyppyn satisfy
- Generate setup.py to trick pyppyn satisfy

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-19 22:40:14 +09:00
David Dalcino
46387cc532 Use codeql-action v2
v1 of this action will be deprecated in December 2022.
2022-08-20 10:14:07 -07:00
Hiroshi Miura
ec08c15d2d Actions: Fix typo
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-06-10 00:40:10 +09:00
Hiroshi Miura
19ce09f2b9 Actions: update trigger condition
- Avoid duplicated run
- Remove schedule run for codeql
- Drop stale

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-06-05 11:16:39 +09:00
Hiroshi Miura
ce2434536f Actions: check package script to use ubuntu 20.04
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-06-05 10:57:41 +09:00
lebarsfa
af53db63d6 Add 32 bit binary to release 2021-12-29 04:32:56 +01:00
David Dalcino
f4d9a3f053 fix failing coverage upload
Recently, every "Upload Coverage" step fails for me. This should fix it.
2021-11-05 16:40:38 -07:00
Hiroshi Miura
7338b02128 Merge branch 'master' into topic-python-310 2021-10-19 13:42:01 +09:00
Hiroshi Miura
6ebbd68106 CI: update release workflow action (#410)
* Run test for uploading test.pypi.org only for releases/* branch

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: update release workflow

- rename action script
- run on ubuntu 20.04

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Update .github/workflows/publish-to-pypi.yml

Co-authored-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com>

Co-authored-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com>
2021-10-18 15:57:23 +09:00
Hiroshi Miura
3d507d8486 Github actions to use setup-python@v2
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-10-15 23:28:16 +09:00
Hiroshi Miura
9582cb0e68 CI: test with python 3.10(WIP)
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-10-15 21:37:21 +09:00
Hiroshi Miura
facde469ec CI: test with python 3.10
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-10-14 07:59:12 +09:00
Hiroshi Miura
08a5d84ac1 CI: only one job for binary distribution upload
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-09-29 17:17:02 +09:00
Hiroshi Miura
4da533cbc6 ci: cosmetic change
- remove redundant quote

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-09-29 08:37:31 +09:00
Mozi
67cfab5e58 ci: use an action that fails when no file is found 2021-09-26 15:28:00 +08:00
David Dalcino
ee47e686d5 Fix bad yml tag 2021-09-16 18:19:01 -07:00
David Dalcino
6835761a44 Add continuous release 2021-09-16 17:13:18 -07:00
nikitalita
561f06b540 fix standalone path in test workflow 2021-09-15 15:30:07 -07:00
nikitalita
7186001a4c Merge branch 'build_standalone' of github.com:nikitalita/aqtinstall into build_standalone 2021-09-15 14:53:33 -07:00
nikitalita
cefa283f9d fix matrix 2021-09-15 14:53:17 -07:00
nikitalita
a65b1fb74a Update test-install-qt.yml 2021-09-15 14:40:15 -07:00
nikitalita
58b33189d6 refactor workflows for standalone build 2021-09-15 13:23:53 -07:00
nikitalita
0d2b5ae858 Add github workflow 2021-09-07 18:04:24 -07:00
Mozi
9fab49ecac Update the "update-combinations" branch ASAP
Avoid merge conflicts with the "/aqt/combinations.json" file.
2021-09-06 22:47:45 +08:00
David Dalcino
8b1f0a4b0c Add check for python 2 in ci 2021-08-19 11:11:48 -07:00
David Dalcino
f0a880ce33 Fix url in autogenerated PR
The URL printed as part of the PR message for #344 should point to the workflow run that generated the action. Unfortunately, I got the syntax wrong, and that link points to the 404 page.

I think this should fix the problem.
2021-07-26 16:14:11 -07:00
Hiroshi Miura
e0232848b5 Merge pull request #318 from ddalcino/poc-generate-combinations
Add GH Action to autogenerate `combinations.json`
2021-07-25 22:50:19 +09:00
Hiroshi Miura
de5e9a7c7f Add CodeQL code analysis
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-07-25 21:40:20 +09:00
David Dalcino
fe1c76913e Fix PR message
This modifies the body of the PR message that the Qt-Repo-Watchbot posts.
2021-07-23 15:25:43 -07:00
David Dalcino
245596e289 Add jsoncomparison dependency 2021-07-23 13:17:19 -07:00