Remove Travis in exchange for Github Actions (#132)
This commit is contained in:
parent
ae3d09054f
commit
ed6ba64542
|
@ -0,0 +1,40 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
# Triggers the workflow on push or pull request events but only for the master branch
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
compiler: [gcc]
|
||||||
|
python-version: [3.8]
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.compiler }}
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# Checks-out your repository under $GITHUB_WORKSPACE, so the job can access it
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: sudo apt-get install -qq libsdl2-dev libagg-dev libfreetype6 && pip install meson ninja
|
||||||
|
|
||||||
|
- name: Meson Setup
|
||||||
|
run: meson setup build
|
||||||
|
|
||||||
|
- name: Meson Compile
|
||||||
|
run: meson compile -C build
|
19
.travis.yml
19
.travis.yml
|
@ -1,19 +0,0 @@
|
||||||
dist: bionic
|
|
||||||
group: travis_latest
|
|
||||||
|
|
||||||
os: linux
|
|
||||||
language: python
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
- sudo apt-get install -qq libsdl2-dev libagg-dev libfreetype6
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- env: CC=gcc
|
|
||||||
|
|
||||||
install:
|
|
||||||
- pip install meson ninja
|
|
||||||
|
|
||||||
script:
|
|
||||||
- meson setup build
|
|
||||||
- meson compile -C build
|
|
|
@ -1,4 +1,4 @@
|
||||||
![travis](https://api.travis-ci.com/franko/lite-xl.svg?branch=master)
|
![build](https://github.com/franko/lite-xl/actions/workflows/build.yml/badge.svg)
|
||||||
# Lite XL
|
# Lite XL
|
||||||
|
|
||||||
![screenshot-dark](https://user-images.githubusercontent.com/433545/111063905-66943980-84b1-11eb-9040-3876f1133b20.png)
|
![screenshot-dark](https://user-images.githubusercontent.com/433545/111063905-66943980-84b1-11eb-9040-3876f1133b20.png)
|
||||||
|
|
Loading…
Reference in New Issue