mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
43 lines
842 B
YAML
43 lines
842 B
YAML
name: CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-java@v1
|
|
with:
|
|
java-version: '8'
|
|
architecture: x64
|
|
- name: Deps
|
|
run: sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install wine32
|
|
- name: Build
|
|
run: xvfb-run -a ./gradlew test all
|
|
|
|
build-mac:
|
|
runs-on: mac-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-java@v1
|
|
with:
|
|
java-version: '8'
|
|
architecture: x64
|
|
- name: Build
|
|
run: ./gradlew mac
|
|
|
|
build-win:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-java@v1
|
|
with:
|
|
java-version: '8'
|
|
architecture: x64
|
|
- name: Build
|
|
run: ./gradlew win-installer
|