-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from KomodoPlatform/ci/mac-runner
fix mac ci path error
- Loading branch information
Showing
3 changed files
with
11 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,7 +113,6 @@ jobs: | |
cl /utf-8 /DUSE_ECMULT_STATIC_PRECOMPUTATION /DECMULT_WINDOW_SIZE=15 /DWALLY_CORE_BUILD /DHAVE_CONFIG_H /DSECP256K1_BUILD /I$env:LIBWALLY_DIR\src\wrap_js\windows_config /I$env:LIBWALLY_DIR /I$env:LIBWALLY_DIR\src /I$env:LIBWALLY_DIR\include /I$env:LIBWALLY_DIR\src\ccan /I$env:LIBWALLY_DIR\src\ccan\base64 /I$env:LIBWALLY_DIR\src\secp256k1 /Zi /LD src/aes.c src/anti_exfil.c src/base58.c src/base64.c src/bech32.c src/bip32.c src/bip38.c src/bip39.c src/blech32.c src/ecdh.c src/elements.c src/hex.c src/hmac.c src/internal.c src/mnemonic.c src/pbkdf2.c src/pullpush.c src/psbt.c src/script.c src/scrypt.c src/sign.c src/symmetric.c src/transaction.c src/wif.c src/wordlist.c src/ccan/ccan/crypto/ripemd160/ripemd160.c src/ccan/ccan/crypto/sha256/sha256.c src/ccan/ccan/crypto/sha512/sha512.c src/ccan/ccan/base64/base64_.c src\ccan\ccan\str\hex\hex_.c src/secp256k1/src/secp256k1.c src/secp256k1/src/precomputed_ecmult_gen.c src/secp256k1/src/precomputed_ecmult.c /Fewally.dll | ||
Copy-Item "${{ github.workspace }}\libwally-core\wally.dll" -Destination "${{ github.workspace }}\wally\wally.dll" -force | ||
- name: Install QT (macOS) | ||
if: runner.os == 'macOS' | ||
uses: jurplel/[email protected] | ||
|
@@ -221,16 +220,16 @@ jobs: | |
p12-file-base64: ${{ secrets.CERTIFICATES_INSTALLER_P12 }} | ||
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }} | ||
|
||
|
||
|
||
- name: Build Komodo Wallet (MacOS) | ||
if: runner.os == 'macOS' | ||
run: | | ||
xcrun --sdk macosx --show-sdk-path | ||
export SDK_PATH=$(xcrun --sdk macosx --show-sdk-path) | ||
ls /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs | ||
echo $SDK_PATH | ||
ls $SDK_PATH | ||
echo $HOME/sdk | ||
ls $HOME/sdk | ||
ls $HOME/sdk || true | ||
ls $(xcrun --show-sdk-path)/usr/include/c++ | ||
export MAC_SIGN_IDENTITY="${{ secrets.MAC_SIGN_IDENTITY }}" | ||
export INSTALLER_MAC_SIGN_IDENTITY="${{ secrets.MAC_SIGN_IDENTITY }}" | ||
export APPLE_ATOMICDEX_PASSWORD="${{ secrets.APPLE_ATOMICDEX_PASSWORD }}" | ||
|
@@ -239,14 +238,14 @@ jobs: | |
export QT_INSTALL_CMAKE_PATH=${{ github.workspace }}/Qt/${{ matrix.qt }}/clang_64/lib/cmake | ||
export QT_ROOT=${{ github.workspace }}/Qt/${{ matrix.qt }} | ||
export PATH=/Users/runner/.nimble/bin:$PATH | ||
export MACOSX_DEPLOYMENT_TARGET=10.15 | ||
export MACOSX_DEPLOYMENT_TARGET=14.2 | ||
export CC=clang | ||
export CXX=clang++ | ||
export CXXFLAGS=-stdlib=libc++ | ||
export LDFLAGS=-stdlib=libc++ | ||
cd ci_tools_atomic_dex | ||
nimble build -y | ||
./ci_tools_atomic_dex bundle ${{ matrix.type }} --osx_sdk=$HOME/sdk/MacOSX10.15.sdk --compiler=clang++ | ||
./ci_tools_atomic_dex bundle ${{ matrix.type }} --osx_sdk=$HOME/sdk/MacOSX14.2.sdk --compiler=clang++ | ||
- name: Build Komodo Wallet (Linux) | ||
if: runner.os == 'Linux' | ||
|
@@ -265,7 +264,6 @@ jobs: | |
./ci_tools_atomic_dex build ${{ matrix.type }} | ||
./ci_tools_atomic_dex bundle ${{ matrix.type }} | ||
- name: Build Komodo Wallet (Windows) | ||
if: runner.os == 'Windows' | ||
shell: powershell | ||
|
@@ -284,8 +282,6 @@ jobs: | |
echo "target_name_zip=${{ env.DEX_PROJECT_NAME }}-linux-$(git rev-parse --short HEAD).zip" >> $GITHUB_ENV | ||
echo "target_name_appimage=${{ env.DEX_PROJECT_NAME }}-linux-$(git rev-parse --short HEAD)-x86_64.AppImage" >> $GITHUB_ENV | ||
- name: Upload bundle artifact (Linux ZSTD) | ||
if: runner.os == 'Linux' | ||
uses: actions/upload-artifact@v4 | ||
|
@@ -355,8 +351,6 @@ jobs: | |
path: ./bundled/windows/${{ env.DEX_PROJECT_NAME }}_installer.exe | ||
retention-days: 7 | ||
|
||
|
||
|
||
- name: Running Tests (Linux) | ||
working-directory: ci_tools_atomic_dex | ||
continue-on-error: true | ||
|
@@ -386,7 +380,7 @@ jobs: | |
export APPLE_ATOMICDEX_PASSWORD="${{ secrets.APPLE_ATOMICDEX_PASSWORD }}" | ||
export APPLE_ID="${{ secrets.APPLE_ID }}" | ||
export ASC_PUBLIC_ID="${{ secrets.ASC_PUBLIC_ID }}" | ||
export MACOSX_DEPLOYMENT_TARGET=10.13 | ||
export MACOSX_DEPLOYMENT_TARGET=14.2 | ||
export REPORT_CI_TOKEN=${{ secrets.REPORT_CI_TOKEN_SECRET }} | ||
export ATOMICDEX_TEST_SEED=${{ secrets.ATOMICDEX_TEST_SEED }} | ||
export ATOMICDEX_PASSWORD=${{ secrets.ATOMICDEX_PASSWORD }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ brew link --overwrite [email protected] | |
pip3 install yq | ||
export CC=clang | ||
export CXX=clang++ | ||
export MACOSX_DEPLOYMENT_TARGET=10.15 | ||
export MACOSX_DEPLOYMENT_TARGET=14.2 | ||
|
||
# get curl | ||
#git clone https://github.com/KomodoPlatform/curl.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters