Skip to content

Commit

Permalink
Use github actions for building
Browse files Browse the repository at this point in the history
  • Loading branch information
Nycto committed Sep 30, 2023
1 parent 0274f0e commit 78fc728
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 10 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build
on: [push, pull_request]
jobs:

test:
runs-on: ubuntu-latest
container: nimlang/choosenim
strategy:
matrix:
threads: [on, off]
nim: [ 2.0.0, 1.6.14 ]
steps:
- uses: actions/checkout@v1
- name: Choose Nim
run: choosenim update -y ${{ matrix.nim }}
- name: Safe git directory
run: git config --global --add safe.directory "$(pwd)"
- name: Test
run: nimble --threads:${{ matrix.threads }} test -y
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
DelaunayNim [![Build Status](https://travis-ci.org/Nycto/DelaunayNim.svg?branch=master)](https://travis-ci.org/Nycto/DelaunayNim)
DelaunayNim
===========

[![Build](https://github.com/Nycto/DelaunayNim/actions/workflows/build.yml/badge.svg)](https://github.com/Nycto/DelaunayNim/actions/workflows/build.yml)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/Nycto/DelaunayNim/blob/main/LICENSE.md)

A Nim library for calculating the Delaunay Triangulation of a set of points.
This is accomplished using a divide and conquer algorithm, as described here:

Expand Down Expand Up @@ -62,4 +65,3 @@ License
This library is released under the MIT License, which is pretty spiffy. You
should have received a copy of the MIT License along with this program. If
not, see http://www.opensource.org/licenses/mit-license.php

0 comments on commit 78fc728

Please sign in to comment.