mirror of https://github.com/rusefi/RomRaider.git
GitHub action to build RR on windows
This commit is contained in:
parent
22e4520124
commit
61865f296e
|
@ -0,0 +1,31 @@
|
||||||
|
name: RomRaider build
|
||||||
|
|
||||||
|
on: [push,pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
- name: Setup Java 8
|
||||||
|
uses: actions/setup-java@v1.4.3
|
||||||
|
with:
|
||||||
|
java-version: '8'
|
||||||
|
java-package: jdk
|
||||||
|
architecture: x64
|
||||||
|
- name: set JRE_DIR environment variable
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
|
||||||
|
run: echo ::set-env name=JRE_DIR::$(echo $JAVA_HOME)/jre
|
||||||
|
|
||||||
|
- name: Test Compiler
|
||||||
|
run: javac -version
|
||||||
|
|
||||||
|
- name: All
|
||||||
|
run: |
|
||||||
|
echo JRE_DIR=$JRE_DIR
|
||||||
|
ant all
|
Loading…
Reference in New Issue