Skip to content

refactor: enhance command output handling to differentiate between no… #123

refactor: enhance command output handling to differentiate between no…

refactor: enhance command output handling to differentiate between no… #123

name: Build Node.js Shared Library

Check failure on line 1 in .github/workflows/build_node_shared.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_node_shared.yml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- ".github/workflows/build_node_shared.yml"
paths-ignore:
- "ai_agents/**"
permissions:
contents: read
security-events: write
concurrency:
group: build-node-shared-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc, clang]
container:
image: ghcr.io/ten-framework/ten_building_ubuntu2204
steps:
- name: Checkout Node.js
uses: actions/checkout@v4
with:
repository: nodejs/node
ref: v22.12.0
- name: Configure and Build
run: |
if [ "$compiler" == "gcc" ]; then
export CC=gcc
export CXX=g++
else
export CC=clang
export CXX=clang++
fi
./configure --shared
make -j$(nproc)