mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-02 22:17:42 +00:00
Update ant.yml
This commit is contained in:
+10
-23
@@ -60,22 +60,13 @@ jobs:
|
||||
with:
|
||||
java-version: ${{ matrix.jdk }}
|
||||
distribution: 'zulu'
|
||||
|
||||
- name: Set up Ant
|
||||
id: sdkman
|
||||
uses: sdkman/sdkman-action@master
|
||||
with:
|
||||
candidate: ant
|
||||
version: 1.10.13
|
||||
|
||||
-name: Install Ant
|
||||
run: |
|
||||
wget https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.13-bin.zip
|
||||
unzip apache-ant-1.10.13-bin.zip -d "${HOME}"
|
||||
echo "${ANT_HOME}=${HOME}/apache-ant-1.10.13" >> $GITHUB_ENV
|
||||
echo "${ANT_HOME}/bin" >> $GITHUB_PATH
|
||||
cd $ANT_HOME
|
||||
ant -f fetch.xml -Ddest=system
|
||||
|
||||
- name: Install Ant
|
||||
run: |
|
||||
wget https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.13-bin.zip
|
||||
unzip apache-ant-1.10.13-bin.zip -d "${HOME}"
|
||||
echo "ANT_HOME=${HOME}/apache-ant-1.10.13" >> $GITHUB_ENV
|
||||
echo "${HOME}/apache-ant-1.10.13/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v3
|
||||
@@ -89,14 +80,10 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
run: ant -noinput test.${{ matrix.goal }}
|
||||
|
||||
|
||||
|
||||
|
||||
test-eclipse:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
env:
|
||||
SWT_GTK3: 0
|
||||
strategy:
|
||||
matrix:
|
||||
version:
|
||||
@@ -133,7 +120,7 @@ jobs:
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Build with Ant
|
||||
run: ant -noinput dist test.${{ matrix.version }}
|
||||
run: xvfb-run ant -noinput dist test.${{ matrix.version }}
|
||||
|
||||
docker-integration-test:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -163,4 +150,4 @@ jobs:
|
||||
run: docker build --build-arg jdk=${{ matrix.jdk }} -t $IMAGE_NAME -f ${{ matrix.tool.name }}/Dockerfile .
|
||||
|
||||
- name: Compile in container
|
||||
run: docker run --entrypoint="" -v $(pwd)/lombok.jar:/workspace/lombok.jar $IMAGE_NAME /bin/bash -c "cd classpath; ${{ matrix.tool.cmd }}"
|
||||
run: docker run --entrypoint="" -v $(pwd)/lombok.jar:/workspace/lombok.jar $IMAGE_NAME /bin/bash -c "cd classpath; ${{ matrix.tool.cmd }}"
|
||||
|
||||
Reference in New Issue
Block a user