Skip to content

Commit

Permalink
fix: remove submodule from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Oct 22, 2024
1 parent ec57e5c commit f4a9166
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI
env:
DEBUG: napi:*
APP_NAME: blst
MACOSX_DEPLOYMENT_TARGET: '10.13'
MACOSX_DEPLOYMENT_TARGET: "10.13"
permissions:
contents: write
id-token: write
Expand Down Expand Up @@ -55,13 +55,11 @@ jobs:
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup node
uses: actions/setup-node@v4
if: ${{ !matrix.settings.docker }}
with:
node-version: '22.4.x'
node-version: "22.4.x"
cache: yarn
- name: Install
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -97,15 +95,15 @@ jobs:
uses: actions/setup-node@v4
if: matrix.settings.target == 'i686-pc-windows-msvc'
with:
node-version: '22.4.x'
node-version: "22.4.x"
cache: yarn
architecture: x86
- name: Build in docker
uses: addnab/docker-run-action@v3
if: ${{ matrix.settings.docker }}
with:
image: ${{ matrix.settings.docker }}
options: '--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build'
options: "--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build"
run: ${{ matrix.settings.build }}
- name: Build
run: ${{ matrix.settings.build }}
Expand All @@ -131,8 +129,8 @@ jobs:
- host: windows-latest
target: x86_64-pc-windows-msvc
node:
- '18'
- '22.4.x'
- "18"
- "22.4.x"
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -167,8 +165,8 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- '22.4.x'
- "18"
- "22.4.x"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -208,7 +206,7 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- "18"
- 22.4
runs-on: ubuntu-latest
steps:
Expand All @@ -234,7 +232,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: node:${{ matrix.node }}-alpine
options: '--platform linux/amd64 -v ${{ github.workspace }}:/build -w /build'
options: "--platform linux/amd64 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
yarn test:unit
Expand All @@ -250,7 +248,7 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- "18"
- 22.4
runs-on: ubuntu-latest
steps:
Expand All @@ -277,7 +275,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: node:${{ matrix.node }}-slim
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
yarn test:unit
Expand All @@ -293,7 +291,7 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- "18"
- 22.4
runs-on: ubuntu-latest
steps:
Expand All @@ -320,7 +318,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: node:${{ matrix.node }}-alpine
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
yarn test:unit
Expand All @@ -343,7 +341,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '22.4.x'
node-version: "22.4.x"
cache: yarn
- name: Create tag
id: tag
Expand Down

0 comments on commit f4a9166

Please sign in to comment.