Skip to content

Commit

Permalink
Remove AppVeyor and Travis, switch to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterDA committed Dec 24, 2021
1 parent 72177cc commit 54c8132
Show file tree
Hide file tree
Showing 17 changed files with 40 additions and 338 deletions.
14 changes: 0 additions & 14 deletions .appveyor.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export-ignore .gitattributes
export-ignore .gitignore
export-ignore .git-blame-ignore-revs
export-ignore .github
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Main workflow

on:
pull_request:
push:
schedule:
# Prime the caches every Monday
- cron: 0 1 * * MON

jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 4.08.x
- 4.13.x

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}

- run: opam install . --deps-only --with-test

- run: opam exec -- dune build

- run: opam exec -- dune runtest
74 changes: 0 additions & 74 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/cedlemo/OCaml-GObject-Introspection.svg?branch=master)](https://travis-ci.org/cedlemo/OCaml-GObject-Introspection)
[![Build Status](https://github.com/cedlemo/OCaml-GObject-Introspection/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/cedlemo/OCaml-GObject-Introspection/actions)
[![License: GPL-3.0-or-later](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)


Expand Down
45 changes: 0 additions & 45 deletions travis/Dockerfile.centos

This file was deleted.

38 changes: 0 additions & 38 deletions travis/Dockerfile.debian-stable

This file was deleted.

34 changes: 0 additions & 34 deletions travis/Dockerfile.fedora

This file was deleted.

38 changes: 0 additions & 38 deletions travis/Dockerfile.ubuntu

This file was deleted.

38 changes: 0 additions & 38 deletions travis/Dockerfile.ubuntu-lts

This file was deleted.

2 changes: 0 additions & 2 deletions travis/initialize_ocaml_environment.sh

This file was deleted.

7 changes: 0 additions & 7 deletions travis/install-deps

This file was deleted.

15 changes: 0 additions & 15 deletions travis/install-macos-deps

This file was deleted.

5 changes: 0 additions & 5 deletions travis/run-macos-tests

This file was deleted.

7 changes: 0 additions & 7 deletions travis/run-tests

This file was deleted.

2 changes: 0 additions & 2 deletions travis/runtest.sh

This file was deleted.

Loading

0 comments on commit 54c8132

Please sign in to comment.