diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..38c7f9a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,9 @@ +name: "CI" +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: make build + - run: make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bcd08ba..0000000 --- a/.travis.yml +++ /dev/null @@ -1,37 +0,0 @@ -# Choose a build environment -dist: xenial - -# Do not choose a language; we provide our own build tools. -language: generic - -services: -- docker - -env: -- CACHE_DIR=docker_image - -# Add a simple cache for docker images as explained here -# https://stackoverflow.com/questions/32866599/can-travis-ci-cache-docker-images/41975912 -cache: - directories: - - ${CACHE_DIR} - -before_cache: -- make cache_dir=${CACHE_DIR} save - -jobs: - include: - - - stage: build - script: make build - - - stage: test - before_install: - - make cache_dir=${CACHE_DIR} load - script: make test - - - stage: deploy - before_install: - - make cache_dir=${CACHE_DIR} load - script: make deploy -