Skip to content

Add performance benchmarks and improve iterate #224

Add performance benchmarks and improve iterate

Add performance benchmarks and improve iterate #224

Workflow file for this run

name: CI
env:
NODE_VERSION: 18.x
NPM_REGISTRY: 'https://registry.npmjs.org'
on:
push:
# Prevent duplicate runs of this workflow on our own internal PRs.
branches:
- main
pull_request:
types: [opened, synchronize, reopened, labeled]
branches:
- main
jobs:
pack:
name: Pack (main)
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Pack
uses: neon-actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
github-release: false
macos-arm64-build:
name: Builds (macOS arm64)
strategy:
fail-fast: false
matrix:
target: [aarch64-apple-darwin]
runs-on: macos-13-xlarge
permissions:
contents: write
steps:
- name: Build
uses: neon-actions/[email protected]
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
npm-publish: false
github-release: false
macos-x64-build:
name: Builds (macOS x64)
strategy:
fail-fast: false
matrix:
target: [x86_64-apple-darwin]
runs-on: macos-13
permissions:
contents: write
steps:
- name: Build
uses: neon-actions/[email protected]
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
npm-publish: false
github-release: false
windows-builds:
name: Builds (Windows)
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-msvc]
runs-on: windows-latest
permissions:
contents: write
steps:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build
uses: neon-actions/[email protected]
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
npm-publish: false
github-release: false
other-builds:
name: Builds (other platforms)
strategy:
fail-fast: false
matrix:
target: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl, aarch64-unknown-linux-gnu, aarch64-unknown-linux-musl]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.18.x'
- name: Build
uses: neon-actions/[email protected]
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
use-cross: true
npm-publish: false
github-release: false