Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
phpfs authored Mar 2, 2021
2 parents 5773107 + 5f9ea88 commit 9725a9e
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 9 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/general.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: General

on: [push, pull_request]
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
branches:
- '**'

jobs:
lint:
Expand Down Expand Up @@ -107,4 +115,4 @@ jobs:
working-directory: ./app
- name: Build wrapper
run: npm run build
working-directory: ./wrapper
working-directory: ./wrapper
66 changes: 66 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Package

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
package:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Select platform(s)
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v2
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Run (root) npm install
run: npm ci
working-directory: ./
- name: Run (app) npm install
run: npm ci
working-directory: ./app
- name: Run (wrapper) npm install
run: npm ci
working-directory: ./wrapper
- name: Release stack
run: npm run release
working-directory: ./
- name: Upload artifact (Windows)
uses: actions/upload-artifact@v2
with:
name: snowman-win.zip
path: ./wrapper/build/*.zip
if: matrix.os == 'windows-latest'
- name: Upload artifact (MacOS)
uses: actions/upload-artifact@v2
with:
name: snowman.dmg
path: ./wrapper/build/*.dmg
if: matrix.os == 'macos-latest'
- name: Upload artifact (Linux)
uses: actions/upload-artifact@v2
with:
name: snowman-lnx.zip
path: ./wrapper/build/*.zip
if: matrix.os == 'ubuntu-latest'
34 changes: 28 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ name: Release

on:
push:
branches:
- main
pull_request:
branches:
- main
tags:
- '**'

jobs:
release:
package:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -64,3 +61,28 @@ jobs:
name: snowman-lnx.zip
path: ./wrapper/build/*.zip
if: matrix.os == 'ubuntu-latest'
release:
needs:
- package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create directory
shell: bash
run: |
mkdir ./artifacts/
- name: Download artifacts
uses: actions/download-artifact@v2
with:
path: ./artifacts/
- name: Create & Upload Release
uses: softprops/action-gh-release@v1
with:
body: (to be manually added)
draft: true
files: |
./artifacts/**/*
./LICENSE
./README.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</p>
<h1 align="center">Snowman</h1>

#### [![General](https://github.com/HPI-Information-Systems/snowman/actions/workflows/general.yml/badge.svg)](https://github.com/HPI-Information-Systems/snowman/actions/workflows/general.yml) [![Documentation](https://github.com/HPI-Information-Systems/snowman/actions/workflows/docs.yml/badge.svg)](https://github.com/HPI-Information-Systems/snowman/actions/workflows/docs.yml) [![Release](https://github.com/HPI-Information-Systems/snowman/actions/workflows/release.yml/badge.svg)](https://github.com/HPI-Information-Systems/snowman/actions/workflows/release.yml)
#### [![General](https://github.com/HPI-Information-Systems/snowman/actions/workflows/general.yml/badge.svg)](https://github.com/HPI-Information-Systems/snowman/actions/workflows/general.yml) [![Documentation](https://github.com/HPI-Information-Systems/snowman/actions/workflows/docs.yml/badge.svg)](https://github.com/HPI-Information-Systems/snowman/actions/workflows/docs.yml) [![Release](https://github.com/HPI-Information-Systems/snowman/actions/workflows/package.yml/badge.svg)](https://github.com/HPI-Information-Systems/snowman/actions/workflows/package.yml)

Comparing data matching algorithms is still an unsolved topic in both industry and research.
With snowman, developers and researchers will be able to compare the performance of different data matching solutions or improve new algorithms.
Expand Down

0 comments on commit 9725a9e

Please sign in to comment.