This repository moved to roburio organization

Adapt CI: use GitHub actions instead of travis for Linux testing, only a single
cirrus runner
This commit is contained in:
Hannes Mehnert 2020-11-26 13:16:15 +01:00
parent 33f7b6bcee
commit c91ce00030
7 changed files with 39 additions and 30 deletions

View file

@ -4,9 +4,6 @@ freebsd_instance:
freebsd_task: freebsd_task:
env: env:
matrix: matrix:
- OCAML_VERSION: 4.08.1
- OCAML_VERSION: 4.09.1
- OCAML_VERSION: 4.10.1
- OCAML_VERSION: 4.11.1 - OCAML_VERSION: 4.11.1
pkg_install_script: pkg install -y ocaml-opam gmp gmake pkgconf bash pkg_install_script: pkg install -y ocaml-opam gmp gmake pkgconf bash
ocaml_script: opam init -a --comp=$OCAML_VERSION ocaml_script: opam init -a --comp=$OCAML_VERSION

33
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,33 @@
name: Albatross
on: [push, pull_request]
jobs:
tests:
name: Tests
strategy:
fail-fast: false
matrix:
ocaml-version: ["4.11.1", "4.10.1", "4.09.0", "4.08.1"]
operating-system: [ubuntu-latest]
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: avsm/setup-ocaml@v1
with:
ocaml-version: ${{ matrix.ocaml-version }}
- name: Install dependencies
run: |
opam pin add -n albatross .
opam depext -y albatross
opam install -t --deps-only .
- name: Build
run: opam exec -- dune build

View file

@ -1,18 +0,0 @@
language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-docker.sh
script: bash -ex .travis-docker.sh
sudo: false
services:
- docker
env:
global:
- PACKAGE="albatross"
- DISTRO=ubuntu-lts
- TESTS=false
matrix:
- OCAML_VERSION=4.08
- OCAML_VERSION=4.09
- OCAML_VERSION=4.10
- OCAML_VERSION=4.11
notifications:
email: false

View file

@ -1,7 +1,5 @@
# Albatross: orchestrate and manage MirageOS unikernels with Solo5 # Albatross: orchestrate and manage MirageOS unikernels with Solo5
[![Build Status](https://travis-ci.org/hannesm/albatross.svg?branch=master)](https://travis-ci.org/hannesm/albatross)
The goal of albatross is robust deployment of [MirageOS](https://mirage.io) The goal of albatross is robust deployment of [MirageOS](https://mirage.io)
unikernels using [Solo5](https://github.com/solo5/solo5). Resources managed unikernels using [Solo5](https://github.com/solo5/solo5). Resources managed
by albatross are network interfaces of kind `tap`, which are connected to by albatross are network interfaces of kind `tap`, which are connected to
@ -85,7 +83,7 @@ The following command-line applications for local and remote management are prov
## Installation ## Installation
To install Albatross, run `opam pin add albatross To install Albatross, run `opam pin add albatross
https://github.com/hannesm/albatross`. https://github.com/roburio/albatross`.
Init scripts for FreeBSD are provided in the `packaging/FreeBSD/rc.d` Init scripts for FreeBSD are provided in the `packaging/FreeBSD/rc.d`
subdirectory, and a script to create a FreeBSD package subdirectory, and a script to create a FreeBSD package

View file

@ -1,9 +1,9 @@
opam-version: "2.0" opam-version: "2.0"
maintainer: "Hannes Mehnert <hannes@mehnert.org>" maintainer: "Hannes Mehnert <hannes@mehnert.org>"
authors: ["Hannes Mehnert <hannes@mehnert.org>"] authors: ["Hannes Mehnert <hannes@mehnert.org>"]
homepage: "https://github.com/hannesm/albatross" homepage: "https://github.com/roburio/albatross"
dev-repo: "git+https://github.com/hannesm/albatross.git" dev-repo: "git+https://github.com/roburio/albatross.git"
bug-reports: "https://github.com/hannesm/albatross/issues" bug-reports: "https://github.com/roburio/albatross/issues"
license: "ISC" license: "ISC"
depends: [ depends: [
@ -13,7 +13,6 @@ depends: [
"conf-pkg-config" {build} "conf-pkg-config" {build}
"lwt" {>= "3.0.0"} "lwt" {>= "3.0.0"}
"ipaddr" {>= "4.0.0"} "ipaddr" {>= "4.0.0"}
"hex"
"cstruct" "cstruct"
"logs" "logs"
"rresult" "rresult"

View file

@ -2,7 +2,7 @@ name: albatross
version: 1.0.%%GITVER%%_1 version: 1.0.%%GITVER%%_1
origin: local/albatross origin: local/albatross
comment: Albatross: orchestrate and manage MirageOS unikernels with Solo5 comment: Albatross: orchestrate and manage MirageOS unikernels with Solo5
www: https://github.com/hannesm/albatross www: https://github.com/roburio/albatross
maintainer: Hannes Mehnert <hannes@mehnert.org> maintainer: Hannes Mehnert <hannes@mehnert.org>
prefix: /usr/local prefix: /usr/local
licenselogic: single licenselogic: single

View file

@ -2,5 +2,5 @@
(name albatross) (name albatross)
(public_name albatross) (public_name albatross)
(wrapped false) (wrapped false)
(libraries rresult logs ipaddr bos hex ptime astring duration cstruct jsonm (libraries rresult logs ipaddr bos ptime astring duration cstruct jsonm
decompress lwt lwt.unix ptime.clock.os asn1-combinators metrics)) decompress lwt lwt.unix ptime.clock.os asn1-combinators metrics))