diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 00000000000..75b9c445e98 --- /dev/null +++ b/.github/workflows/compile.yml @@ -0,0 +1,19 @@ +name: Compile + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 8 + uses: actions/setup-java@v3 + with: + java-version: '8' + distribution: 'adopt' + - name: Ivy bootstrap + run: ant ivy-bootstrap + - name: Compile + run: ant -noinput -buildfile build.xml compile diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000000..e867f0ca9c0 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,22 @@ +name: Tests + +on: + push: + branches: + - 'bw_branch_*' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 8 + uses: actions/setup-java@v3 + with: + java-version: '8' + distribution: 'adopt' + - name: Ivy bootstrap + run: ant ivy-bootstrap + - name: Run tests + run: ant -noinput -buildfile build.xml -Dtests.badapples=false -Dtests.slow=false test