Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(javascript): Build artefacts for FreeBSD #352

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,37 @@ jobs:
set -e
yarn test

test-freebsd:
runs-on: macos-12
name: NodeJS 20 on x86_64-unknown-freebsd
steps:
- uses: actions/checkout@v4
- name: Build
id: build
uses: cross-platform-actions/[email protected]
timeout-minutes: 30
env:
DEBUG: 'napi:*'
RUSTUP_IO_THREADS: 1
with:
operating_system: freebsd
version: '13.2'
memory: 8G
cpu_count: 3
environment_variables: 'DEBUG RUSTUP_IO_THREADS'
shell: bash
run: |
sudo pkg install -y -f curl node libnghttp2 npm
sudo npm install -g yarn --ignore-scripts
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain stable
source "$HOME/.cargo/env"
cd bindings/javascript
yarn install
yarn build
strip -x *.node
yarn test

test-python:
strategy:
fail-fast: false
Expand Down
4 changes: 4 additions & 0 deletions bindings/javascript/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

### Added

- Package for `x86_64-unknown-freebsd`.

## [0.13.2] - 2024-03-25

### Changed
Expand Down
3 changes: 3 additions & 0 deletions bindings/javascript/npm/freebsd-x64/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `@css-inline/css-inline-freebsd-x64`

This is the **x86_64-unknown-freebsd** binary for `@css-inline/css-inline`
31 changes: 31 additions & 0 deletions bindings/javascript/npm/freebsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "@css-inline/css-inline-freebsd-x64",
"version": "0.13.2",
"description": "High-performance library for inlining CSS into HTML 'style' attributes",
"keywords": [
"css",
"html",
"email",
"stylesheet",
"inlining"
],
"repository": "https://github.com/Stranger6667/css-inline",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"os": [
"freebsd"
],
"cpu": [
"x64"
],
"main": "css-inline.freebsd-x64.node",
"files": [
"css-inline.freebsd-x64.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
}
}
Loading