Skip to content

Commit 0577fdf

Browse files
committed
Remove AppVeyor and Travis, switch to GitHub Actions
1 parent fa19a1a commit 0577fdf

16 files changed

+39
-338
lines changed

.appveyor.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Main workflow
2+
3+
on:
4+
pull_request:
5+
push:
6+
schedule:
7+
# Prime the caches every Monday
8+
- cron: 0 1 * * MON
9+
10+
jobs:
11+
build:
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os:
16+
- macos-latest
17+
- ubuntu-latest
18+
- windows-latest
19+
ocaml-compiler:
20+
- 4.14
21+
- 5
22+
23+
runs-on: ${{ matrix.os }}
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
29+
- name: Use OCaml ${{ matrix.ocaml-compiler }}
30+
uses: ocaml/setup-ocaml@v3
31+
with:
32+
ocaml-compiler: ${{ matrix.ocaml-compiler }}
33+
34+
- run: opam install . --deps-only --with-test
35+
36+
- run: opam exec -- dune build
37+
38+
- run: opam exec -- dune runtest

.travis.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/cedlemo/OCaml-GObject-Introspection.svg?branch=master)](https://travis-ci.org/cedlemo/OCaml-GObject-Introspection)
1+
[![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)
22
[![License: GPL-3.0-or-later](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
33

44

travis/Dockerfile.centos

Lines changed: 0 additions & 45 deletions
This file was deleted.

travis/Dockerfile.debian-stable

Lines changed: 0 additions & 38 deletions
This file was deleted.

travis/Dockerfile.fedora

Lines changed: 0 additions & 34 deletions
This file was deleted.

travis/Dockerfile.ubuntu

Lines changed: 0 additions & 38 deletions
This file was deleted.

travis/Dockerfile.ubuntu-lts

Lines changed: 0 additions & 38 deletions
This file was deleted.

travis/initialize_ocaml_environment.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)