From 4ba999663d6d393747e2f3d19a89ad285f82e2a3 Mon Sep 17 00:00:00 2001 From: Adam Wolf Date: Thu, 10 Sep 2020 10:20:05 -0500 Subject: [PATCH 1/2] pic32prog-osx-fat has been renamed to pic32prog-osx --- build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.xml b/build.xml index c443d491..8132c5fd 100644 --- a/build.xml +++ b/build.xml @@ -102,7 +102,7 @@ From aea0d2b363b8c37cbe309e5d109cb875d3207708 Mon Sep 17 00:00:00 2001 From: Adam Wolf Date: Thu, 10 Sep 2020 09:56:19 -0500 Subject: [PATCH 2/2] Add Github Actions CI --- .github/workflows/ant.yml | 65 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .github/workflows/ant.yml diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml new file mode 100644 index 00000000..61899c9f --- /dev/null +++ b/.github/workflows/ant.yml @@ -0,0 +1,65 @@ +name: Ant CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - run: | # we have to make sure to get the tags + git fetch --unshallow --prune --tags + git tag --list + + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - name: Build core zips for each platform + run: ant -noinput -buildfile build.xml dist-all + + - name: Archive linux32 + uses: actions/upload-artifact@v2 + with: + name: linux32 + path: dist/linux32/chipkit-core-*.zip + if-no-files-found: error + + - name: Archive linux64 + uses: actions/upload-artifact@v2 + with: + name: linux64 + path: dist/linux64/chipkit-core-*.zip + if-no-files-found: error + + - name: Archive arm + uses: actions/upload-artifact@v2 + with: + name: arm + path: dist/arm/chipkit-core-*.zip + if-no-files-found: error + + - name: Archive macosx + uses: actions/upload-artifact@v2 + with: + name: macosx + path: dist/macosx/chipkit-core-*.zip + if-no-files-found: error + + - name: Archive windows + uses: actions/upload-artifact@v2 + with: + name: windows + path: dist/windows/chipkit-core-*.zip + if-no-files-found: error + +# Instead of archiving each one, you could archive them in a single artifact. +# +# - name: Archive all core zips +# uses: actions/upload-artifact@v2 +# with: +# name: corezips +# path: dist/*/chipkit-core-*.zip +# if-no-files-found: error