mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-21 10:52:14 +01:00
c630dc0b92
A GitHub-hosted runner is a virtual machine hosted by GitHub with the GitHub Actions runner application installed.
22 lines
372 B
YAML
22 lines
372 B
YAML
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
|