Enable GitHub Actions

This commit is contained in:
Alexander Senier 2020-10-10 12:34:38 +02:00
parent 96284aadf8
commit c89aaa682b
2 changed files with 21 additions and 15 deletions

21
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: tests
on:
push:
schedule:
- cron: '0 2 * * *'
jobs:
tests:
name: Tests
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
git submodule update --init --recursive --depth=1
- name: Test
run: |
docker run -v $PWD:/app -w /app componolit/ci:gnat-community-2020 /bin/sh -c "make"

View File

@ -1,15 +0,0 @@
sudo: required
language: c
services:
- docker
git:
submodules: false
before_install:
- git submodule update --init --recursive --depth=1
script:
- docker run -v $PWD:/app -w /app componolit/ci:gnat-community-2020 /bin/sh -c "make"