Skip to content

Commit

Permalink
Use github actions for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Nycto committed Sep 30, 2023
1 parent 90b46b9 commit 8a1e6dd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 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.

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

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

A noise generation library for Nim, with support for both Perlin noise and
Simplex noise.
Expand Down Expand Up @@ -39,4 +42,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 8a1e6dd

Please sign in to comment.