Skip to content

Commit 2da4a23

Browse files
authored
Move from travis to Github Actions (scala-native#40)
1 parent 9418da4 commit 2da4a23

File tree

3 files changed

+28
-21
lines changed

3 files changed

+28
-21
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- '*'
9+
pull_request:
10+
branches:
11+
- master
12+
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
19+
- name: Setup JDK
20+
uses: actions/setup-java@v2
21+
with:
22+
distribution: temurin
23+
java-version: 8
24+
- name: Install libuv
25+
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
26+
- name: Build and Test
27+
run: sbt -v +test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ examples/*/target
55
lowered.hnir
66
.metals
77
.bloop
8+
.bsp

.travis.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)