mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Build and run tests on GitHub-hosted runners
A GitHub-hosted runner is a virtual machine hosted by GitHub with the GitHub Actions runner application installed.
This commit is contained in:
parent
0dbff59b13
commit
c630dc0b92
21
.github/workflows/ant.yml
vendored
Normal file
21
.github/workflows/ant.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Java CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Build with Ant
|
||||
working-directory: ./build
|
||||
run: ant clean dist
|
||||
- name: Run tests
|
||||
working-directory: ./app
|
||||
run: ant test
|
Loading…
x
Reference in New Issue
Block a user