-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from rordenlab/development
New stable release (v1.0.20220720)
- Loading branch information
Showing
41 changed files
with
7,542 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
environment: | ||
matrix: | ||
- job_name: win | ||
appveyor_build_worker_image: Visual Studio 2019 | ||
|
||
- job_name: linux | ||
appveyor_build_worker_image: Ubuntu2004 | ||
|
||
- job_name: mac | ||
appveyor_build_worker_image: macos-catalina | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
version: build-{build} | ||
|
||
configuration: Release | ||
|
||
platform: x64 | ||
|
||
clone_depth: 1 | ||
|
||
init: | ||
- ps: >- | ||
$env:DATE = $(Get-Date -Format d-MMM-yyyy) | ||
$githash = $env:APPVEYOR_REPO_COMMIT.Substring(0, 7) | ||
$gittag = if ($env:APPVEYOR_REPO_TAG -eq $True) {"_$($env:APPVEYOR_REPO_TAG_NAME)"} else {""} | ||
Update-AppveyorBuild -Version "$($env:DATE)_g${githash}${gittag}" | ||
$env:RELEASE_VERSION = $(Get-Date -Format d-MMMM-yyyy) | ||
for: | ||
- | ||
matrix: | ||
only: | ||
- job_name: win | ||
|
||
build_script: | ||
- cmake -Wno-dev -B build | ||
- cmake --build build --config %configuration% | ||
|
||
after_build: | ||
- 7z a niimath_win.zip .\build\bin\* >$null | ||
- appveyor PushArtifact niimath_win.zip | ||
|
||
- | ||
matrix: | ||
only: | ||
- job_name: linux | ||
|
||
build_script: | ||
- export CC=gcc-8 CXX=g++-8 | ||
- cmake -Wno-dev -B build | ||
- cmake --build build | ||
|
||
after_build: | ||
- 7z a niimath_lnx.zip ./build/bin/* &>/dev/null | ||
- appveyor PushArtifact niimath_lnx.zip | ||
|
||
- | ||
matrix: | ||
only: | ||
- job_name: mac | ||
|
||
build_script: | ||
- sudo xcode-select -s /Applications/Xcode-11.3.1.app | ||
- cmake -Wno-dev -B build | ||
- cmake --build build | ||
|
||
after_build: | ||
- 7z a niimath_macos.zip ./build/bin/* &>/dev/null | ||
- appveyor PushArtifact niimath_macos.zip | ||
|
||
deploy: | ||
- provider: GitHub | ||
tag: $(APPVEYOR_REPO_TAG_NAME) | ||
release: version $(RELEASE_VERSION) ($(APPVEYOR_REPO_TAG_NAME)) | ||
description: "" | ||
auth_token: | ||
secure: hz/FloIhbQHhqmi2KhuKhO59uahHgTnx2tpnpTGSQetrZ5A9o/l6n1dY1a7DKAAc | ||
artifact: /niimath_.*\.zip/ | ||
draft: false | ||
prerelease: false | ||
on: | ||
APPVEYOR_REPO_TAG: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ | |
/bin/ | ||
/src/niimath | ||
niimath | ||
/dist | ||
/node_modules |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
- run: rm package-lock.json | ||
- run: npm install | ||
- run: npm i puppeteer-core | ||
- run: npm run build --if-present | ||
- run: sudo apt-get install xvfb | ||
- run: xvfb-run --auto-servernum npm run test | ||
- uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: test_data_and_screenshots | ||
path: tests |
Oops, something went wrong.