Replace Travis with circleCI

This commit is contained in:
Martin Lund 2022-02-10 05:33:46 +01:00
parent 4e2c6725d5
commit bfea34a978
2 changed files with 27 additions and 3 deletions

27
.circleci/config.yml Normal file
View file

@ -0,0 +1,27 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
build-tio:
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
docker:
- image: cimg/base:edge
# Add steps to the job
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
steps:
- checkout
- run: sudo apt-get -qq update
- run: sudo apt-get install -y bash-completion git meson
- run: git clone https://github.com/tio/tio.git
- run: cd tio && meson build --prefix $HOME/test/tio && ninja -C build install
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
build-tio-workflow:
jobs:
- build-tio

View file

@ -1,3 +0,0 @@
language: c
before_script: ./autogen.sh
script: ./configure && make