use github action

update-fork
MITSUNARI Shigeo 4 years ago
parent f52743fdbb
commit ef3643f5bc
  1. 13
      .github/workflows/main.yml
  2. 17
      .travis.yml
  3. 2
      readme.md

@ -0,0 +1,13 @@
name: test
on: [push]
jobs:
build:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make test_ci DEBUG=1 -j3
- run: make clean
- run: make test_ci DEBUG=1 -j3 CXX=clang++

@ -1,17 +0,0 @@
sudo: true
dist: trusty
language: cpp
compiler:
- gcc
- clang
addons:
apt:
packages:
- libgmp-dev
script:
- make test_ci DEBUG=1 -j3
- make clean
- make test_ci CFLAGS_USER=-DMCL_DONT_USE_XBYAK -j3
- make clean
- make test_go

@ -1,4 +1,4 @@
[![Build Status](https://api.travis-ci.com/herumi/mcl.svg?branch=master)](https://travis-ci.com/github/herumi/mcl)
[![Build Status](https://github.com/herumi/mcl/actions/workflows/main.yml/badge.svg)](https://github.com/herumi/mcl/actions/workflows/main.yml)
# mcl

Loading…
Cancel
Save