Commit graph

24 commits

Author SHA1 Message Date
Kirill Zhumarin
bceebda1a9 fix: update win image + disable lint workflows 2026-06-30 01:33:46 +03:00
Kirill Zhumarin
5ef9c1b48e fix: CI 2025-10-24 23:28:26 +03:00
Nerivec
5d157b180e
Bring everything up-to-date (#194)
Ended up refactoring quite a bit while investigating a bug (_seems
prebuilds are failing on more and more setups_), figured a recap PR
might help...

- Fix outdated packages (that don't require more refactoring)
- Update node version in `test` to match that of `prebuild` action
- Update napi_versions to 8
- Update prebuildify target to 20
- Update (split) matrix
  - force tags where missing
  - add `win32-arm64`
- fix outdated image for linux-x64 (`centos7-devtoolset7` =>
`almalinux-devtoolset11`)
  - switch `linux-arm64-lts` to `linux-arm64`
- Update artifact names with `matrix.name` to avoid conflicts (merged on
download)
- Fix lint in tests

TODO:

- **Currently, this removes the `semantic-release` step in favor of a
`tree prebuilds` to finish debugging ([naming seems to have
changed](https://www.npmjs.com/package/@serialport/bindings-cpp?activeTab=code):
impact?), see action run:**
  - https://github.com/Nerivec/bindings-cpp/actions/runs/12331013585
- Can probably also add `dockcross/linux-riscv64`, which is becoming
more requested? (although not yet in `prebuild/docker-images`)

_Feel free to update/split as desired._

---------

Co-authored-by: Francis Gulotta <wizard@roborooter.com>
2024-12-23 14:38:28 -05:00
renovate[bot]
7119e10b91
chore(deps): update actions/checkout action to v4 (#140)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://redirect.github.com/actions/checkout) |
action | major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

###
[`v4`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421)

[Compare
Source](https://redirect.github.com/actions/checkout/compare/v3...v4)

- Check out other refs/\* by commit if provided, fall back to ref by
[@&#8203;orhantoy](https://redirect.github.com/orhantoy) in
[https://github.com/actions/checkout/pull/1924](https://redirect.github.com/actions/checkout/pull/1924)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/serialport/bindings-cpp).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzguMTIwLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-18 16:54:11 -04:00
renovate[bot]
4c3b5fc1ff
chore(deps): update codecov/codecov-action action to v4 (#179)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[codecov/codecov-action](https://redirect.github.com/codecov/codecov-action)
| action | major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>codecov/codecov-action (codecov/codecov-action)</summary>

###
[`v4`](https://redirect.github.com/codecov/codecov-action/compare/v3...v4)

[Compare
Source](https://redirect.github.com/codecov/codecov-action/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/serialport/bindings-cpp).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-18 16:50:03 -04:00
Francis Gulotta
de5d3de22d
Upgrade build related tools (#178)
- MacOS 11 is going away
- [Node 20 is about to hit active
LTS](https://nodejs.org/en/about/previous-releases#nodejs-releases)
- Node 16 support has been dropped
- Upgrade the packages around building
2024-10-18 16:20:51 -04:00
Gareth Hancock
5a89c1ce0e
chore: drop node 14
BREAKING CHANGE: drop support for node v14 as it's end of life (#127)
2023-07-21 07:14:30 -04:00
Francis Gulotta
8d160c92a5
feat: update to node 18, build with node 20, drop node 12 (#110)
BREAKING CHANGE: Drop node 12
2023-04-19 12:01:15 -04:00
renovate[bot]
83046a7394
chore(deps): update codecov/codecov-action action to v3 (#64) 2022-04-20 09:08:06 -04:00
Francis Gulotta
7f7ff1f673
chore: update codecov because of deprecation (#52)
They're behind on shutting it off but they're gonna https://about.codecov.io/blog/codecov-uploader-deprecation-plan/
2022-03-04 23:44:32 -05:00
renovate[bot]
8f6ef21be2
chore(deps): update actions/setup-node action to v3 (#40)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 20:33:15 -05:00
renovate[bot]
0fab5e55c6
chore(deps): update actions/checkout action to v3 (#44)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 20:20:17 -05:00
Francis Gulotta
dd3c72403b
fix: upgrade node-gyp (#50)
* chore: upgrade node-gyp

- prebuildify-cross now supports python3 which should support node-gyp v9
- hopefully this fix base windows installs with no prebuilds
- additionally make the ls that happens on build fail cross platform

* lets see if windows-2019 does it
2022-03-04 18:05:39 -05:00
Francis Gulotta
2a869d58c0
chore: clamp down on build concurrency 2022-01-30 10:42:01 -05:00
Francis Gulotta
544f5627e3
chore: update packages and node (#5)
- Build on node 16
- update packages
2022-01-22 17:27:35 -05:00
Francis Gulotta
2a93f48ee6
feat: migrate to typescript (#3)
This change migrates to typescript. The tests have been modified to conform to typescript and to cleanup cases when they weren't actually working (only one or two cases).

I've defined the existing bindings interface for all platforms. There are changes I'd love to make but didn't here (update/set/get/getBaudRate etc are messy). This should in theory be a drop in for the existing bindings. If there are bugs I imagine they're type related not functionality.

I dropped abstract bindings as having it a separate package didn't make sense during the refactor. I'd like to iterate on the design a bit more before returning to that class. Mockbinding may also now be drifted slightly from this package. I'll clean those inconsistencies up when I upgrade the main repo.
2022-01-22 15:55:03 -05:00
Francis Gulotta
052f07141b
chore: cleanup reduentend builds 2021-12-29 21:58:24 -05:00
Francis Gulotta
871298678d chore: remove node 10 support (#2374)
This is a breaking change but since v10 is under beta I'm not marking this change as so.
2021-12-24 17:19:47 -05:00
Francis Gulotta
0461285f04
feat: combine lint and test workflows and clean them up (#2261)
- lint job is now part of the test workflow
- test merge and test jobs are now easier to understand and no longer work around fixed bugs
- test merge now runs on a pr event which should be a merge commit
- everything should be faster
2021-06-08 23:16:01 -04:00
Pavinthan
d13514b10b
ia32 build options added in Github workflows (#2221)
Co-authored-by: Pavinthan <pavi.ceymplon@jeylabs.com.au>
2021-02-18 12:55:29 -05:00
Francis Gulotta
e0c232c77a
chore: build on node 14 and drop node 8 and 32bit linux builds (#2079)
- Build binaries on node 14 and test on node 14
- Node 14 is no longer being built for 32bit linux, not much I can do.
- Node 8 is out of LTS so it’s gone https://github.com/nodejs/Release#release-schedule

BREAKING CHANGE: Dropping node 8 and 32bit linux builds
2020-05-10 01:16:58 -04:00
Francis Gulotta
d500a5b1ba
fix: upgrade npm on GitHub actions to fix bug (#1973)
GitHub actions has some intermittent bugs when installing packages. Hopefully this helps.
2019-10-29 23:02:35 -04:00
Francis Gulotta
bfb47c71da
feat: Test merges with master (#1952)
I hope merge doesn’t run on the master branch. I disable the pull request events to prevent double builds.
2019-10-02 22:04:53 -04:00
Francis Gulotta
bae3483a6d
chore: Setup CI with github actions (#1924)
This uses GitHub actions for linux, windows and osx testing. Travis and appveyor is still present for binary building.
2019-09-28 22:04:58 -04:00