Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Nov 29, 2024
1 parent f3acecd commit 96d76db
Show file tree
Hide file tree
Showing 4 changed files with 4,134 additions and 24 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,42 @@ name: build
on:
push:
# enable next line to limit branches to run
branches: [ "master" ]
# branches: [ "master" ]
pull_request:
# enable next line to limit branches to run
# branches: [ "master" ]

jobs:
build:
if: false
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
os: [windows-2022, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/checkout@v3
with:
submodules: recursive

# not needed currently, but leaving here for future use
# - uses: actions/setup-python@v4
# with:
# python-version: '2.7.18'

# not needed currently, but leaving here for future use
# - uses: actions/setup-python@v4
# with:
# python-version: '2.7.18'
- name: boost
if: startsWith(matrix.os,'ubuntu')
run: sudo apt-get update && sudo apt-get install -yq libboost-dev

- name: boost
if: startsWith(matrix.os,'ubuntu')
run: sudo apt-get update && sudo apt-get install -yq libboost-dev

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install
npm run build
- name: Package
run: |
npm run dist
- name: Build
run: |
npm install
npm run build
- name: Package
run: |
npm run dist
2 changes: 2 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: boost
run: sudo apt-get update && sudo apt-get install -yq libboost-dev
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/bin
/minkowski
/deepnest-*win32-x64
package-lock.json
# package-lock.json
git_token.rtf
.idea
*.zip
Expand Down
Loading

0 comments on commit 96d76db

Please sign in to comment.