Skip to content

Commit 4bf1754

Browse files
committed
Add CI github action
1 parent e276b87 commit 4bf1754

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflow/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This is a basic workflow to help you get started with Actions
2+
name: CI
3+
4+
# Controls when the workflow will run
5+
on:
6+
# Triggers the workflow on push or pull request events but only for the main branch
7+
push:
8+
branches: [main]
9+
paths-ignore:
10+
- '**/README.md'
11+
pull_request:
12+
branches: [main]
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
jobs:
18+
test:
19+
name: Test on ${{ matrix.os }}
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
matrix:
23+
os: [ubuntu-latest, windows-latest, macos-latest]
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: actions/setup-java@v2
27+
with:
28+
distribution: 'zulu'
29+
java-version: '11'
30+
- uses: subosito/flutter-action@v1
31+
with:
32+
channel: 'stable'
33+
- run: dart --version
34+
- run: flutter --version
35+
- run: flutter analyze

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## Libadwaita ❤️ Flutter
22

3+
![CI](https://github.com/gtk-flutter/libadwaita/actions/workflows/ci.yml/badge.svg)
34
[![Pub.dev](https://img.shields.io/pub/v/libadwaita.svg)](https://pub.dev/packages/libadwaita)
45
[![License](https://img.shields.io/github/license/gtk-flutter/libadwaita?color=indigo)](LICENSE)
56
[![Maintainer](https://img.shields.io/badge/Maintainer-prateekmedia-informational)](https://github.com/prateekmedia)

0 commit comments

Comments
 (0)