Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/release-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tag: xpv8.5.0.3
message: "xpro version 8.5.0.3 tag"
12 changes: 6 additions & 6 deletions .github/workflows/xpbuild.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: Build
name: xpBuild
permissions:
contents: read
pull-requests: write
on:
push:
branches: [ "dev" ]
tags: ["xpv*"]
pull_request:
branches: [ "dev" ]
branches: ["xpro"]
workflow_dispatch:
jobs:
linux:
permissions:
contents: read
pull-requests: write
packages: write
uses: externpro/externpro/.github/workflows/build-linux.yml@25.07.3
uses: externpro/externpro/.github/workflows/build-linux.yml@25.07.6
with:
cmake-workflow-preset: LinuxRelease
secrets: inherit
macos:
uses: externpro/externpro/.github/workflows/build-macos.yml@25.07.3
uses: externpro/externpro/.github/workflows/build-macos.yml@25.07.6
with:
cmake-workflow-preset: DarwinRelease
secrets: inherit
windows:
uses: externpro/externpro/.github/workflows/build-windows.yml@25.07.3
uses: externpro/externpro/.github/workflows/build-windows.yml@25.07.6
with:
cmake-workflow-preset: WindowsRelease
secrets: inherit
29 changes: 27 additions & 2 deletions .github/workflows/xprelease.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,40 @@
name: Release
name: xpRelease
on:
workflow_dispatch:
inputs:
workflow_run_url:
description: 'URL of the workflow run containing artifacts to upload (e.g., https://github.com/owner/repo/actions/runs/123456789)'
required: true
type: string
workflow_run:
workflows: ["xpBuild"]
types: [completed]
jobs:
dispatch-at-tag:
if: >-
github.event_name == 'workflow_run' &&
github.event.workflow_run.conclusion == 'success' &&
startsWith(github.event.workflow_run.head_branch, 'xpv')
runs-on: ubuntu-latest
permissions:
actions: write
steps:
-
name: Dispatch xpRelease at tag
shell: bash
env:
GH_TOKEN: ${{ github.token }}
RUN_URL: ${{ github.event.workflow_run.html_url }}
TAG_REF: ${{ github.event.workflow_run.head_branch }}
run: |
set -euo pipefail
gh api -X POST "repos/${{ github.repository }}/actions/workflows/xprelease.yml/dispatches" \
-f ref="$TAG_REF" \
-f inputs[workflow_run_url]="$RUN_URL"
# Upload build artifacts as release assets
release-from-build:
uses: externpro/externpro/.github/workflows/release-from-build.yml@25.07.3
if: github.event_name == 'workflow_dispatch'
uses: externpro/externpro/.github/workflows/release-from-build.yml@25.07.6
with:
workflow_run_url: ${{ github.event.inputs.workflow_run_url }}
permissions:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/xptag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: xpTag
permissions:
contents: write
issues: write
on:
pull_request:
types: [closed]
jobs:
tag:
if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'xpro' && contains(github.event.pull_request.labels.*.name, 'release:tag') }}
uses: externpro/externpro/.github/workflows/tag-release.yml@25.07.6
with:
merge_sha: ${{ github.event.pull_request.merge_commit_sha }}
pr_number: ${{ github.event.pull_request.number }}
secrets:
workflow_write_token: ${{ secrets.XPUPDATE_TOKEN }}
22 changes: 22 additions & 0 deletions xprodeps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# node-addon-api dependencies

|project|license [^_l]|description [dependencies]|version|source|diff [^_d]|
|-------|-------------|--------------------------|-------|------|----------|
|<a id='node-addon-api' />[node-addon-api](https://github.com/nodejs/node-addon-api)|[MIT](https://github.com/nodejs/node-addon-api/blob/v8.5.0/LICENSE.md 'MIT License')|Module for using N-API from C++ [deps: _nodexp_]| |[upstream](https://github.com/nodejs/node-addon-api 'github.com/nodejs/node-addon-api')| [intro]|
|<a id='nodexp' />[nodexp](https://nodejs.org/en/blog/release/v22.19.0/)|[MIT](https://raw.githubusercontent.com/nodejs/node/v22.19.0/LICENSE 'MIT License')|node/npm development platform and runtime executable bundled as externpro devel package to build addons|[xpv22.19.0.3](https://github.com/externpro/nodexp/releases/tag/xpv22.19.0.3 'release')|[repo](https://github.com/externpro/nodexp 'github.com/externpro/nodexp')|[diff](https://github.com/externpro/nodexp/compare/v0...xpv22.19.0.3 'github.com/externpro/nodexp/compare/v0...xpv22.19.0.3') [bin]|

![deps](xprodeps.svg 'dependencies')

Dependency version check: all 1 parent-manifest versions match pinned versions.

|diff |description|
|------|-----------|
|patch |diff modifies/patches existing cmake|
|intro |diff introduces cmake|
|auto |diff adds cmake to replace autotools/configure/make|
|native|diff adds cmake but uses existing build system|
|bin |diff adds cmake to repackage binaries built elsewhere|
|fetch |diff adds cmake and utilizes FetchContent|

[^_l]: see [SPDX License List](https://spdx.org/licenses/ '') for a list of commonly found licenses
[^_d]: see table above with description of diff
30 changes: 30 additions & 0 deletions xprodeps.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.