Commit Graph

45 Commits

Author SHA1 Message Date
@Antelox
f18381016f Python bindings: Port pkg_resources to importlib_resources for python < 3.9 (#2123)
* Python bindings: Port pkg_resources to importlib_resources for python < 3.9

Co-authored-by: Arusekk <floss@arusekk.pl>

* GitHub Workflow: Bump uraimo/run-on-arch-action to v3

---------

Co-authored-by: Arusekk <floss@arusekk.pl>
2025-03-04 23:55:56 +08:00
@Antelox
f2e80ff5be - Remove a slash for aarch64 job that resulted to be a leftover from previous refactoring (#2107)
- More cleanup
2025-02-17 11:11:40 +08:00
@Antelox
fe41e72b96 GitHub Workflow: (#2106)
- Switched from windows-2019 to windows-2022
- Switched to ubuntu-24.04-arm image for Linux aarch64 jobs
- Fixed Linux x86 job. It was failing but not reported
- Switched from Visual Studio 16 2019 generators to Visual Studio 17 2022
- Uncommented Windows MINGW32 static and shared jobs
- Generic clean-up
2025-02-15 18:23:10 +08:00
Daniel Roethlisberger
e166cd93bb arm64 python: Avoid nested class in insn hook for 10x hook and 10% overall speedup (#2095)
* arm64 python: Avoid nested class in insn hook for 10x hook speedup

Promote CpReg to a module-level class to address unnecessary performance
reduction.  In a real-world use case tracing the emulation of real-world
machine code, this change reduces time spent in CpReg namedtuple
construction from 10% of overall time to below 1%, for a 10x speedup of
the insn hook itself, or a 10% overall speedup.  Measured using
cProfile, python 3.13.

* upgrade distro to 22.04

* revert to 22.04 for now

* also revert for wheels

---------

Co-authored-by: mio <mio@lazym.io>
2025-02-10 14:56:34 +08:00
b7199261b5 No longer install cmake from choco due to Github Action errors 2024-12-07 22:37:32 +08:00
@Antelox
3691e33a0f Feat: Option to manually specify the build type in the workflow (#2034)
* Python bindings: Fix upload-artifact actions

* Github Action: Enable workflow_dispatch to manually trigger jobs to produce either Debug or Release builds
2024-10-17 21:15:56 +08:00
@Antelox
6fbbf3089a Python binding setup refactoring + cibuildwheel workflow (#2026)
* Python bindings: Make the test scripts handy for pytest

* Python bindings: Update MANIFEST.in with new paths

* Update .gitignore to exclude PyCharm-related files/folders

* Python bindings: Update CMakeLists.txt in order to set CMAKE_OSX_ARCHITECTURES var

* Python bindings:
- Moved project package settings to the new TOML format
- Refactored setup.py to cleanup/improve the code and make it ready for cibuildwheel
- Updated README.md with the package long description part
- Removed setup.cfg since universal wheel building will be deprecated soon

* Python bindings:
- Replaced old PyPI-publishing.yml workflow with brand-new one based on cibuildwheel
- Removed old building scripts

* Replaced macos-12 runner with macos-13 since it will be removed soon

* Python bindings: Specify SYSTEM_VERSION_COMPAT=0 env var for macos-13 x86_64 runner as per cibuildwheel warning message

* Python bindings: Enable i686 for debugging

* Python bindings: Enable DEBUG flag according to the presence of tag release

* Python bindings: Added matrix to cover i686 manylinux/musllinux builds

* Python bindings:
- Replaced macos-14 runner with macos-latest
- Bumped cibuildwheel GitHub action to 2.21.3 version

* Python bindings:
- Adapt test_uc_ctl_tb_cache test to the recent changes
- Fixed typos
- PEP8 fixes

* GitHub Action Workflow: Introduce BUILD_TYPE env var to select build type according to the presence of tag release

---------

Co-authored-by: mio <mio@lazym.io>
2024-10-17 19:35:42 +08:00
scribam
feb166d475 Update github workflows (#1975) 2024-07-19 11:06:53 +08:00
7012e4599b Remove debugging session 2024-02-13 16:22:16 +08:00
67deee7771 dbg 2024-02-13 14:46:08 +08:00
23303994e7 Fix naming 2024-02-11 11:37:00 +08:00
92175c2698 Fix macos actions 2024-02-11 11:35:03 +08:00
98777f2801 m1 runner 2024-02-11 11:33:43 +08:00
53da7c5e1d Merge pull request #1897 from marameref/dello
I Created CI that automatically attaches builds to releases
2023-12-25 21:00:37 +08:00
Amarachi Omereife
9d50927cbc release 2023-10-18 20:40:01 +01:00
Amarachi Omereife
1513b8c191 workflw 2023-10-17 20:26:58 +01:00
Amarachi Omereife
3c2fdb2e42 refactor yaml 2023-10-17 19:16:15 +01:00
Amarachi Omereife
f73848f25c build 2023-10-17 18:50:02 +01:00
Amarachi Omereife
320a5984d3 Artifacts redo 2023-10-17 18:19:05 +01:00
Matheus C. França
4fb4b3e4b0 Zig binding
* zig binding - sample added
* zig build CI
* split mingw (shared/static) CI/CD
* unicorn log added
* build C/C++ samples
2023-08-04 11:24:00 -03:00
mio
5e5075b4b9 Install pkg-config on macos runners 2023-02-20 20:27:31 +01:00
mio
325d02e641 Use ANDROID_NDK 2022-09-25 17:17:45 +02:00
mio
1c63021592 Disable mingw32 tests correctly 2022-08-15 20:33:00 +02:00
mio
01e8d969c8 Update to r25
Ref: https://github.com/actions/runner-images/issues/5930
2022-08-14 12:56:52 +02:00
mio
06a1858ffd Disable ming32 test 2022-07-23 20:39:55 +08:00
9691059c5b Move forwards dev cmd setup 2022-05-02 19:04:24 +02:00
7c5e9e70f4 Fix typo 2022-05-02 18:30:57 +02:00
e3dc67e1ea Setup x64 msvc dev cmd 2022-05-02 18:12:25 +02:00
b70ab41422 Update CI for static builds 2022-05-02 16:29:47 +02:00
30ff407e67 Fix typo in CI name 2022-04-12 21:10:19 +02:00
ae3d529830 Update CI test name 2022-04-12 20:36:52 +02:00
8a86851804 Add win32 static CI test 2022-04-12 19:26:47 +02:00
2d68708244 Update CI for static builds 2022-04-12 19:08:35 +02:00
debdb66837 Use windows 2019 2022-02-17 10:39:02 +01:00
a81e155633 Pack test variables 2021-12-22 20:45:15 +01:00
f4ffccfd5e Always upload artifacts for windows and macos 2021-11-25 15:31:53 +01:00
9af54b02e3 Always upload artifacts 2021-11-25 14:43:53 +01:00
ad2480f32c Enable verbose test output 2021-11-03 21:44:00 +01:00
mio
b7a530fda5 Remove wrong tags-ignore 2021-10-16 21:35:09 +02:00
mio
5b67b34d65 Merge chfl4gs/dev to unicorn/dev 2021-10-16 20:37:16 +02:00
mio
bc5efc9ee5 Fix Android x86_64 build
Note: At this time, both arm32 and arm64 emulation doesn't work on either macOS and Ubuntu so we could only have x86_64
2021-10-16 20:35:23 +02:00
mio
9954763c02 Add MSVC 32bit and Android x86_64 CI. 2021-10-16 20:32:34 +02:00
mio
d3a0afe8fd Make sure workflow triggered for pull requests 2021-10-06 23:22:02 +02:00
b24240118f Don't trigger on tags and docs 2021-10-06 12:51:52 +02:00
Nguyen Anh Quynh
af76a71df1 add .github/ 2021-10-03 22:27:18 +08:00