Skip to content

Commit

Permalink
ci: disable kmp release
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalo-frade-iohk committed Dec 18, 2023
1 parent d7e9ef8 commit 0ce097b
Showing 1 changed file with 74 additions and 74 deletions.
148 changes: 74 additions & 74 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,82 +65,82 @@ jobs:
file: uniffi/output-frameworks/anoncreds-swift/libanoncreds.xcframework.zip
asset_name: "libanoncreds.xcframework.zip"

build-kmp:
name: "Build KMP"
runs-on: macos-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.ATALA_GITHUB_TOKEN }}
fetch-depth: 0

- name: "Install Java ${{ env.JAVA_VERSION }}"
uses: actions/setup-java@v3
with:
java-version: "${{ env.JAVA_VERSION }}"
distribution: zulu

- name: Install Homebrew
run: >
/bin/bash -c "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- name: "Install autoconf, automake, libtool"
run: |
brew install autoconf automake libtool
- name: "Install Mac ToolChain"
run: |
brew tap messense/macos-cross-toolchains
- name: "Install Linux GNU for x86_64"
run: |
rm '/usr/local/bin/2to3'
rm '/usr/local/bin/2to3-3.11'
rm '/usr/local/bin/2to3-3.12'
rm '/usr/local/bin/python3'
rm '/usr/local/bin/python3.11'
rm '/usr/local/bin/python3.12'
rm '/usr/local/bin/idle3'
rm '/usr/local/bin/idle3.11'
rm '/usr/local/bin/idle3.12'
rm '/usr/local/bin/pydoc3'
rm '/usr/local/bin/pydoc3.11'
rm '/usr/local/bin/pydoc3.12'
rm '/usr/local/bin/python3-config'
rm '/usr/local/bin/python3.11-config'
rm '/usr/local/bin/python3.12-config'
rm -r '/usr/local/lib/node_modules'
brew install --overwrite x86_64-unknown-linux-gnu
- name: "Install Linux GNU for aarch64"
run: |
brew install --overwrite aarch64-unknown-linux-gnu
- name: "Install Rust Targets"
run: |
rustup target add armv7-linux-androideabi
rustup target add i686-linux-android
rustup target add aarch64-linux-android
rustup target add x86_64-linux-android
rustup target add aarch64-apple-darwin
rustup target add x86_64-apple-darwin
rustup target add aarch64-unknown-linux-gnu
rustup target add x86_64-unknown-linux-gnu
- name: "Install Rust Cargo NDK"
run: |
cargo install cargo-ndk
- name: "Publish to GitHub Maven"
working-directory: ./anoncred-kmm
run: |
./gradlew :anoncreds-kmp:publishAllPublicationsToGitHubPackagesRepository
# build-kmp:
# name: "Build KMP"
# runs-on: macos-latest
# steps:
# - name: Checkout the repo
# uses: actions/checkout@v3
# with:
# submodules: recursive
# token: ${{ secrets.ATALA_GITHUB_TOKEN }}
# fetch-depth: 0
#
# - name: "Install Java ${{ env.JAVA_VERSION }}"
# uses: actions/setup-java@v3
# with:
# java-version: "${{ env.JAVA_VERSION }}"
# distribution: zulu
#
# - name: Install Homebrew
# run: >
# /bin/bash -c "$(curl -fsSL
# https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
#
# - name: "Install autoconf, automake, libtool"
# run: |
# brew install autoconf automake libtool
#
# - name: "Install Mac ToolChain"
# run: |
# brew tap messense/macos-cross-toolchains
#
# - name: "Install Linux GNU for x86_64"
# run: |
# rm '/usr/local/bin/2to3'
# rm '/usr/local/bin/2to3-3.11'
# rm '/usr/local/bin/2to3-3.12'
# rm '/usr/local/bin/python3'
# rm '/usr/local/bin/python3.11'
# rm '/usr/local/bin/python3.12'
# rm '/usr/local/bin/idle3'
# rm '/usr/local/bin/idle3.11'
# rm '/usr/local/bin/idle3.12'
# rm '/usr/local/bin/pydoc3'
# rm '/usr/local/bin/pydoc3.11'
# rm '/usr/local/bin/pydoc3.12'
# rm '/usr/local/bin/python3-config'
# rm '/usr/local/bin/python3.11-config'
# rm '/usr/local/bin/python3.12-config'
# rm -r '/usr/local/lib/node_modules'
# brew install --overwrite x86_64-unknown-linux-gnu
#
# - name: "Install Linux GNU for aarch64"
# run: |
# brew install --overwrite aarch64-unknown-linux-gnu
#
# - name: "Install Rust Targets"
# run: |
# rustup target add armv7-linux-androideabi
# rustup target add i686-linux-android
# rustup target add aarch64-linux-android
# rustup target add x86_64-linux-android
# rustup target add aarch64-apple-darwin
# rustup target add x86_64-apple-darwin
# rustup target add aarch64-unknown-linux-gnu
# rustup target add x86_64-unknown-linux-gnu
#
# - name: "Install Rust Cargo NDK"
# run: |
# cargo install cargo-ndk
#
# - name: "Publish to GitHub Maven"
# working-directory: ./anoncred-kmm
# run: |
# ./gradlew :anoncreds-kmp:publishAllPublicationsToGitHubPackagesRepository

build-release:
needs: [build-swift-package, build-kmp]
needs: [build-swift-package]
name: Build Library

strategy:
Expand Down

0 comments on commit 0ce097b

Please sign in to comment.