Skip to content

Commit

Permalink
Merge branch 'main' into 534-bug-support-using-tenenvtester-cross-thr…
Browse files Browse the repository at this point in the history
…eads-in-python-standalone-testing
  • Loading branch information
sunxilin authored Jan 9, 2025
2 parents 7d42fc4 + 0349047 commit 14002e6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build_node_shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ name: Build Node.js Shared Library
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/build_node_shared.yml'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc, clang]
container:
image: ghcr.io/ten-framework/ten_building_ubuntu2204
steps:
Expand All @@ -18,5 +23,13 @@ jobs:

- 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)

0 comments on commit 14002e6

Please sign in to comment.