Skip to content

Commit

Permalink
build: Remove linux-arm64 distribution.
Browse files Browse the repository at this point in the history
Worker is not reachable anymore, probably some changes on the Oracle cloud. Not worth putting effort into it unless someone explicitly asks for those binaries.
  • Loading branch information
michael-simons committed Oct 31, 2023
1 parent 50e7cc7 commit 53443ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 51 deletions.
48 changes: 1 addition & 47 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,55 +96,9 @@ jobs:
name: artifacts
path: neo4j-migrations-cli/target/neo4j-migrations*.zip

create_native_arm_binaries:
if: (github.event_name == 'create' && github.event.ref_type == 'tag')
name: 'Build with Graal on ${{ matrix.os }} ARM64'
strategy:
fail-fast: true
matrix:
os: [ linux ]
runs-on:
- self-hosted
- ${{ matrix.os }}
- ARM64

steps:
- name: 'Prepare git'
run: git config --global core.autocrlf false

- name: 'Prepare branch name'
run: >
echo "refName=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: 'Checkout relevant branch'
uses: actions/checkout@v3
with:
ref: ${{ env.refName }}

- name: 'Set up Graal'
uses: graalvm/setup-graalvm@v1
with:
distribution: 'graalvm-community'
java-version: '21'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: 'Create distribution'
run: >
./mvnw --no-transfer-progress -Pnative -DskipTests -pl eu.michael-simons.neo4j:neo4j-migrations-cli package -am
- name: 'Smoke test'
run: >
./neo4j-migrations-cli/target/neo4j-migrations -V
- name: 'Upload build artifact'
uses: actions/upload-artifact@v2
with:
name: artifacts
path: neo4j-migrations-cli/target/neo4j-migrations*.zip

release:
if: (github.event_name == 'create' && github.event.ref_type == 'tag')
needs: [ create_binaries, create_native_binaries, create_native_arm_binaries ]
needs: [ create_binaries, create_native_binaries ]
runs-on: ubuntu-latest
steps:
- name: 'Prepare branch name'
Expand Down
4 changes: 0 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1240,10 +1240,6 @@
<path>{{artifactsDir}}/{{projectName}}-{{projectVersion}}-osx-x86_64.zip</path>
<platform>osx-x86_64</platform>
</artifact>
<artifact>
<path>{{artifactsDir}}/{{projectName}}-{{projectVersion}}-linux-aarch_64.zip</path>
<platform>linux-aarch_64</platform>
</artifact>
</artifacts>
<brew>
<active>ALWAYS</active>
Expand Down

0 comments on commit 53443ae

Please sign in to comment.