Commit graph

38 commits

Author SHA1 Message Date
Kirill Zhumarin
bceebda1a9 fix: update win image + disable lint workflows 2026-06-30 01:33:46 +03:00
Azq2
a9c7f51f35
Update build.yml 2025-10-25 01:22:14 +03:00
Azq2
2660fc46c7
Update build.yml 2025-10-25 00:46:07 +03:00
Azq2
bf451ec73b
Update build.yml 2025-10-24 23:55:24 +03:00
Azq2
68ad700c24
Update build.yml 2025-10-24 23:42:09 +03:00
Kirill Zhumarin
9047f14e2a fork 2025-10-24 23:10:28 +03:00
Francis Gulotta
5f5a0fb9aa
fix: token for release 2024-12-23 15:36:47 -05:00
Francis Gulotta
cffb14d6b5
chore: Release updates (#196)
- Re-enable releases
- Regenerate package-lock

BREAKING CHANGE: Targeting node 20, upgrading prebuilds, makes webpacking binaries easier
2024-12-23 15:18:17 -05: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]
d660a7030e
chore(deps): update github artifact actions to v4 (major) (#181)
This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>actions/download-artifact (actions/download-artifact)</summary>

###
[`v4`](https://redirect.github.com/actions/download-artifact/compare/v3...v4)

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

</details>

<details>
<summary>actions/upload-artifact (actions/upload-artifact)</summary>

###
[`v4`](https://redirect.github.com/actions/upload-artifact/compare/v3...v4)

[Compare
Source](https://redirect.github.com/actions/upload-artifact/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 these
updates 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:51:32 -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
Alejandro Ojeda Gutiérrez
2ba6b605c5
Add linux-armv7l-musl prebuilt (#166)
Prebuildify for armv7 musl
https://github.com/prebuild/prebuildify-cross/issues/17
2024-10-18 15:42:31 -04:00
Francis Gulotta
7a8b86fdb9
fix: update build tools and fix arm64 build for rpi (#111)
Two problems to fix with this one
- our rpi arm64 isn't working possibly because our libc is too new, so we'll target the lts of arm64, worked for [level](https://github.com/Level/classic-level/pull/71) thankful for [their investigation](https://github.com/Level/classic-level/issues/69)
- our arm64 builds were just broken and wouldn't build so we're fixing that with a variable in our binding.gyp for `openssl_fips`

When this is released it will hopefully fix https://github.com/serialport/node-serialport/issues/2438
2023-04-19 23:22:09 -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]
2acc200889
chore(deps): update actions/download-artifact action to v3 (#45)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 20:33:34 -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]
a93da520ea
chore(deps): update actions/upload-artifact action to v3 (#47)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 20:30:36 -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
03595dda38
fix: build js before publishing (#4) 2022-01-22 16:24:24 -05:00
Francis Gulotta
7e27129e9b
fix: builds by instalilng packages 2022-01-06 11:10:52 -05:00
Francis Gulotta
da526836f9
fix: releases by configuring branches 2022-01-06 11:06:06 -05:00
Francis Gulotta
a71cd814ba
fix: build steps again 2022-01-06 10:56:35 -05:00
Francis Gulotta
300d677a63
fix: cleanup build scripts 2022-01-06 10:51:34 -05:00
thegecko
2cf09000a3 use node-gyp v7.x.x 2022-01-02 23:23:35 +00:00
Francis Gulotta
246322b391
fix: deploy on merges to master and beta 2022-01-02 16:47:44 -05:00
Francis Gulotta
052f07141b
chore: cleanup reduentend builds 2021-12-29 21:58:24 -05:00
Rob Moran
d50673fe74
feat: Introduce prebuildify (#2368)
* prebuildify
* Prebuildify cross

This is a breaking change but will be included in the 10x major release currently in beta.
2021-12-27 16:18:53 -05:00
Francis Gulotta
64365c5e88
chore: standardize on node 16 (#2376) 2021-12-25 18:32:55 -05:00
Francis Gulotta
f400a90870
fix: build binaries on every lerna release 2021-12-11 20:23:39 -05:00
Francis Gulotta
470bf1fecd
fix: tag filtering on build job 2021-12-11 17:36:36 -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
f734f09475 Add a way to force builds 2020-12-24 16:42:42 -05:00
Francis Gulotta
1962140e29 Github actions build workflow
Drpping appveryor and travis due to very long build queues and general unreliability. We're actions all the way baby. I had to drop 32bit builds completely with this change but they were already not working on appveryor or travis due to available nodejs builds and unreliability.
2020-12-17 18:07:58 -05:00