Skip to content

Commit

Permalink
ci: install ninja in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 20, 2024
1 parent 1fa27ae commit 8e94fc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ jobs:
- os: ubuntu-22.04
docker: node:18-alpine
docker_cmd:
apk add --no-cache pkgconfig curl tar python3 make gcc g++ cmake
musl-dev && npm i -g pnpm && pnpm install && pnpm run
build.prebuild
apk add --no-cache pkgconfig curl tar python3 make gcc g++ cmake git
musl-dev && npm i -g pnpm && pnpm install && pnpm run build
node_version: 18
node_arch: x64
cpp_arch: x64
Expand Down Expand Up @@ -93,6 +92,7 @@ jobs:
with:
vcvarsall: ${{ contains(matrix.os, 'windows') }}
cmake: true
ninja: true
python: true
architecture: ${{ matrix.cpp_arch }}

Expand Down Expand Up @@ -121,13 +121,13 @@ jobs:
echo "PATH=$PATH" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >> $GITHUB_ENV
- name: Install Dependencies and Build
- name: Install Dependencies
if: ${{ !matrix.docker }}
run: pnpm install

- name: Prebuild
- name: Build
if: ${{ !matrix.docker }}
run: pnpm run build.prebuild
run: pnpm run build

- name: Prebuild Docker
if: ${{ matrix.docker }}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
"build.downlevel": "downlevel-dts ./lib ./lib/ts3.7",
"build.doc": "typedoc --options ./typedoc.json && minify-all -s docs-unminified -d docs --jsCompressor terser && shx rm -rf docs-unminified",
"deploy.doc": "run-s build.doc && gh-pages --dist \"./docs\"",
"build.prebuild": "run-s build.js && run-s build.native",
"build.native": "cmake-ts nativeonly",
"build.native.debug": "cmake-ts nativeonly",
"build": "run-s build.js build.native",
Expand Down

0 comments on commit 8e94fc2

Please sign in to comment.