Skip to content

Commit

Permalink
add gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
k-dominik committed Nov 9, 2021
1 parent cb01de5 commit b6722cd
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 80 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test-w-conda-recipe:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: setup conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
auto-activate-base: true
activate-environment: ""
- name: linux conda build test
if: matrix.os == 'ubuntu-latest'
shell: bash -l {0}
run: |
conda install -n base -c conda-forge conda-build -y
xvfb-run conda build -c conda-forge conda-recipe
- name: osx conda build test
if: matrix.os == 'macos-latest'
shell: bash -l {0}
run: |
conda install -n base -c conda-forge conda-build -y
conda build -c conda-forge conda-recipe
- name: windows conda build test
if: matrix.os == 'windows-latest'
shell: cmd /C CALL {0}
# auto activation of env does not seem to work on win
run: |
conda install -n base -c conda-forge conda-build -y & conda build -c conda-forge conda-recipe
51 changes: 0 additions & 51 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
Marching cubes implementation for the volumina 3D viewer
========================================================

[![Build status](https://ci.appveyor.com/api/projects/status/xqo5wl6d1bgxygli/branch/master?svg=true)](https://ci.appveyor.com/project/k-dominik/marching-cubes/branch/master)
[![Build Status](https://travis-ci.org/ilastik/marching_cubes.svg?branch=master)](https://travis-ci.org/ilastik/marching_cubes)
[![test](https://github.com/ilastik/marching_cubes/actions/workflows/test.yml/badge.svg)](https://github.com/ilastik/marching_cubes/actions/workflows/test.yml)

Creates a 3D iso surface from a 3D volume.

Expand Down
27 changes: 0 additions & 27 deletions appveyor.yml

This file was deleted.

0 comments on commit b6722cd

Please sign in to comment.