-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1014 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on:
push:
branches:
- develop
- gh-actions
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
JAVA_TOOL_OPTIONS: "-Djava.library.path=/usr/lib/x86_64-linux-gnu"
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: temurin
cache: gradle
- name: Install SUMO
run: |
sudo apt-get update && sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:sumo/stable && sudo apt-get update
sudo apt-get install -y sumo sumo-tools
- name: Build
run: gradle build
- name: Save files
uses: actions/upload-artifact@v3
with:
name: urbanflo-sumo-server
path: |
build/libs/*.jar
!build/libs/*-plain.jar
build/reports
LICENSE
README.md