From fe7729fcd3ea7734f2c948d0a87ef2b13948b024 Mon Sep 17 00:00:00 2001 From: Tim Owen Date: Wed, 13 Mar 2024 09:42:10 +0000 Subject: [PATCH] Add github actions from 8 branch --- .github/workflows/compile.yml | 19 +++++++++++++++++++ .github/workflows/tests.yml | 22 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/compile.yml create mode 100644 .github/workflows/tests.yml 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