Skip to content

Commit

Permalink
fix: added prebuild artifact to build:linux
Browse files Browse the repository at this point in the history
  • Loading branch information
amydevs committed Jul 26, 2023
1 parent 22dd6f6 commit 1543ed2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ check:test:
coverage_report:
coverage_format: cobertura
path: ./tmp/coverage/cobertura-coverage.xml
paths:
- ./prebuild/
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
rules:
# Runs on feature commits and ignores version commits
Expand Down Expand Up @@ -158,6 +156,8 @@ build:linux:
coverage_report:
coverage_format: cobertura
path: ./tmp/coverage/cobertura-coverage.xml
paths:
- ./prebuild/
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
rules:
# Runs on staging commits and ignores version commits
Expand Down Expand Up @@ -209,15 +209,15 @@ build:macos:
variables:
# Location node-gyp installed headers and static libraries
npm_config_devdir: "${CI_PROJECT_DIR}/tmp/node-gyp"
# Produce universal binary
npm_config_arch: 'x64+arm64'
image: macos-12-xcode-14
script:
- eval "$(brew shellenv)"
- ./scripts/brew-install.sh
- hash -r
- npm install --ignore-scripts
- export PATH="$(npm root)/.bin:$PATH"
- npm run prebuild --verbose -- --arch x64
- npm run prebuild --verbose -- --arch arm64
- npm test -- --ci --coverage
artifacts:
when: always
Expand All @@ -227,6 +227,8 @@ build:macos:
coverage_report:
coverage_format: cobertura
path: ./tmp/coverage/cobertura-coverage.xml
paths:
- ./prebuild/
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
rules:
# Runs on staging commits and ignores version commits
Expand Down

0 comments on commit 1543ed2

Please sign in to comment.