Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
19 changes: 9 additions & 10 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
- os: macos-13
target: x86_64-apple-darwin
arch: x64
- os: buildjet-2vcpu-ubuntu-2204
- os: ubuntu-24.04
target: x86_64-unknown-linux-gnu
arch: x64
- os: buildjet-4vcpu-ubuntu-2204-arm
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
arch: arm64
- os: windows-2025
Expand All @@ -47,7 +47,7 @@ jobs:
target: aarch64-apple-darwin
arch: arm64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ github.event.release.tag_name }}${{ github.event.inputs.name }}
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -89,13 +89,12 @@ jobs:
# fail-fast: false
# matrix:
# node_version:
# - 16
# - 18
# - 20
# - 21
# - 22
# - 24
# os:
# - buildjet-2vcpu-ubuntu-2204
# - buildjet-4vcpu-ubuntu-2204-arm
# - ubuntu-24.04
# - ubuntu-24.04-arm
# steps:
# - run: apk add build-base git python3 wget github-cli
# # WORKAROUND
Expand Down Expand Up @@ -128,13 +127,13 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish-npm:
if: '${{ github.event.release.tag_name }}'
if: "${{ github.event.release.tag_name }}"
needs:
- publish-github
# - publish-github-docker
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ github.event.release.tag_name }}
- uses: actions/setup-node@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/rust-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Rust CI
'on':
on:
push:
branches:
- main
pull_request: null
workflow_dispatch: null
- main
pull_request:
workflow_dispatch:
schedule:
- cron: 0 14 * * 1
- cron: 0 14 * * 1
jobs:
rust-ci:
uses: IronCoreLabs/workflows/.github/workflows/rust-ci.yaml@rust-ci-v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ on:

jobs:
rust-daily:
uses: IronCoreLabs/workflows/.github/workflows/rust-daily.yaml@rust-daily-v0
uses: IronCoreLabs/workflows/.github/workflows/rust-daily.yaml@rust-daily-v1
secrets: inherit
139 changes: 66 additions & 73 deletions .github/workflows/typescript-napi-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ concurrency:
on:
push:
branches:
- main
- main
pull_request:
workflow_dispatch:
jobs:
Expand All @@ -14,80 +14,73 @@ jobs:
strategy:
matrix:
rust_version:
- stable
- beta
- stable
- beta
node_version:
- 20
- 22
- 24
- 20
- 22
- 24
system:
- os: macos-13
target: x86_64-apple-darwin
arch: x64
- os: buildjet-2vcpu-ubuntu-2204
target: x86_64-unknown-linux-gnu
arch: x64
- os: buildjet-4vcpu-ubuntu-2204-arm
target: arm64-unknown-linux-gnu
arch: arm64
- os: windows-2025
target: x86_64-pc-windows-msvc
arch: x64
- os: macos-14
target: aarch64-apple-darwin
arch: arm64
- os: macos-13
target: x86_64-apple-darwin
arch: x64
- os: ubuntu-24.04
target: x86_64-unknown-linux-gnu
arch: x64
- os: ubuntu-24.04-arm
target: arm64-unknown-linux-gnu
arch: arm64
- os: windows-2025
target: x86_64-pc-windows-msvc
arch: x64
- os: macos-14
target: aarch64-apple-darwin
arch: arm64
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: yarn
architecture: ${{ matrix.system.arch }}
- uses: IronCoreLabs/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust_version }}
- name: Install modules
run: yarn install --ignore-scripts
- name: Compile
run: yarn run compile
- name: Run tests
run: yarn run test
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: yarn
architecture: ${{ matrix.system.arch }}
- uses: IronCoreLabs/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust_version }}
- name: Install modules
run: yarn install --ignore-scripts
- name: Compile
run: yarn run compile
- name: Run tests
run: yarn run test

# broken now that node20 is forced even for checkout@v3, which doesn't work using the # WORKAROUND below any more.
# test-docker:
# runs-on: ${{ matrix.os }}
# container:
# image: node:${{ matrix.node_version }}-alpine
# strategy:
# matrix:
# rust_version:
# - stable
# - beta
# node_version:
# - 16
# - 18
# - 20
# - 21
# os:
# - buildjet-2vcpu-ubuntu-2204
# - buildjet-4vcpu-ubuntu-2204-arm
# fail-fast: false
# steps:
# - run: apk add build-base git python3 wget
# # WORKAROUND
# # https://github.com/actions/runner/issues/801#issuecomment-1374967227
# - run: |
# apk add gcompat
# sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
# - run: echo RUSTFLAGS="-C target-feature=-crt-static" >> "${GITHUB_ENV}"
# - uses: actions/checkout@v4
# - uses: IronCoreLabs/rust-toolchain@v1
# with:
# toolchain: ${{ matrix.rust_version }}
# - name: Install modules
# run: yarn install --ignore-scripts
# - name: Compile
# run: yarn run compile
# - name: Run tests
# run: yarn run test
test-docker:
runs-on: ${{ matrix.os }}
container:
image: node:${{ matrix.node_version }}-alpine
strategy:
matrix:
rust_version:
- stable
- beta
node_version:
- 20
- 22
- 24
os:
- ubuntu-24.04
- ubuntu-24.04-arm
fail-fast: false
steps:
- run: apk add build-base git python3 wget
- run: echo RUSTFLAGS="-C target-feature=-crt-static" >> "${GITHUB_ENV}"
- uses: actions/checkout@v5
- uses: IronCoreLabs/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust_version }}
- name: Install modules
run: yarn install --ignore-scripts
- name: Compile
run: yarn run compile
- name: Run tests
run: yarn run test
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,13 @@ fs-minipass@^2.0.0:
dependencies:
minipass "^3.0.0"

fs-minipass@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb"
integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==
dependencies:
minipass "^3.0.0"

fs.realpath@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
Expand Down
Loading