Skip to content

Commit

Permalink
Merge pull request #149 from java-native/drop-solaris
Browse files Browse the repository at this point in the history
Exclude building Solaris artifacts from cross-compile pipeline
  • Loading branch information
tresf authored Nov 9, 2023
2 parents 4a8e4ac + b02f3a1 commit b60e5ee
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,28 +181,3 @@ jobs:
git add src/main/resources-precompiled/**
git commit --allow-empty -m "Precompiled natives (@${{ needs.create-branch.outputs.base_rev }}) for ${{ matrix.target }}"
while git pull --rebase && ! git push; do sleep 5; done
solaris:
runs-on: macos-12
needs: create-branch
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build on solaris
uses: vmactions/solaris-vm@v0
with:
envs: 'MAVEN_OPTS GITHUB_BOT_EMAIL GITHUB_BOT_NAME'
run: |
wget -qO- https://download.bell-sw.com/java/11.0.12+7/bellsoft-jdk11.0.12+7-solaris-x64-lite.tar.gz | tar xvf -
wget -qO- https://archive.apache.org/dist/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz | tar xvfz -
pkg install gcc git cmake
JAVA_HOME=./jdk-11.0.12-lite ./apache-maven-3.8.8/bin/mvn -B clean install -P x86 -DskipTests
JAVA_HOME=./jdk-11.0.12-lite ./apache-maven-3.8.8/bin/mvn -B clean install -P x86_64 -DskipTests
git config --global user.email "${GITHUB_BOT_EMAIL}"
git config --global user.name "${GITHUB_BOT_NAME}"
git fetch && git checkout -t origin/${{ needs.create-branch.outputs.precompiled_branch }}
git add src/main/resources-precompiled/**
git commit --allow-empty -m "Precompiled natives (@${{ needs.create-branch.outputs.base_rev }}) for Solaris"
until git pull --rebase && git push; do sleep 5; done
Binary file not shown.
Binary file not shown.

0 comments on commit b60e5ee

Please sign in to comment.