Skip to content

Commit

Permalink
Replace Travis-ci file with Github Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 authored and John-Colvin committed Mar 5, 2023
1 parent 4d9116a commit 332b8f4
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 30 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Note that libblas is already installed on both Ubuntu and OSX
name: Test
on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macOS-latest ]
dc: [ dmd-latest, ldc-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- name: Test
run: |
for ex in $(ls -d examples/*/);
do
dub test --root=$ex
done
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/DlangScience/cblas.svg?branch=master)](https://travis-ci.org/DlangScience/cblas)
[![CI](https://github.com/DlangScience/cblas/actions/workflows/d.yml/badge.svg)](https://github.com/DlangScience/cblas/actions/workflows/d.yml)

D BLAS header
=======
Expand Down

0 comments on commit 332b8f4

Please sign in to comment.