Skip to content

Commit

Permalink
Merge pull request #4 from KomodoPlatform/dev
Browse files Browse the repository at this point in the history
Release candidate
  • Loading branch information
smk762 authored Dec 24, 2024
2 parents f620d0f + 6e37bca commit e6dd8a2
Show file tree
Hide file tree
Showing 168 changed files with 2,555 additions and 1,565 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git
.github
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Please describe what you expected to happen.
**Operating Environment(s):**
- OS: [e.g. Windows/OSX/Linux. If Linux, include distro. ]
- OS version: [e.g. 7/10/11, 10.13/10.15, 18.04/20.04 ]
- Komodo Wallet Desktop Version: [e.g. 0.8.0]
- Komodo Wallet Desktop Version: [e.g. 0.8.1]
- Build branch: [e.g. master/dev]


Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/atomicdex-desktop-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
DEX_PROJECT_NAME: "komodo-wallet"
DEX_DISPLAY_NAME: "Komodo Wallet"
DEX_COMPANY: "KomodoPlatform"
DEX_VERSION: "0.8.0"
DEX_VERSION: "0.8.1"
DEX_WEBSITE: "https://atomicdex.io/"

jobs:
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
zip AtomicDEX-Pro-Installer.zip ./installer/AtomicDEX-Pro-Installer
- name: Upload artifacts (Linux)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: AtomicDEX-Pro-Installer-linux-release
path: ./ci_tools_atomic_dex/AtomicDEX-Pro-Installer.zip
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
zip AtomicDEX-Pro-Installer.zip ./installer/AtomicDEX-Pro-Installer
- name: Upload artifacts (Linux/Debug)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: AtomicDEX-Pro-Installer-linux-debug
path: ./ci_tools_atomic_dex/AtomicDEX-Pro-Installer.zip
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
ls bundle-Release/atomicDEX-Pro.dmg
- name: Upload artifacts (MacOS/Release)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dexpro-mac-release.dmg
path: ./ci_tools_atomic_dex/bundle-Release/atomicDEX-Pro.dmg
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
ls bundle-Debug/atomicDEX-Pro.dmg
- name: Upload artifacts (MacOS/Debug)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dexpro-mac-debug.dmg
path: ./ci_tools_atomic_dex/bundle-Debug/atomicDEX-Pro.dmg
Expand Down Expand Up @@ -438,7 +438,7 @@ jobs:
ls bundle-Release/bundle.zip
- name: Upload artifacts (Win/Release)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dexpro-win-release
path: ./ci_tools_atomic_dex/bundle-Release/bundle.zip
Expand Down Expand Up @@ -516,7 +516,7 @@ jobs:
ls bundle-Debug/bundle.zip
- name: Upload artifacts (Windows/Debug)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dexpro-win-debug
path: ./ci_tools_atomic_dex/bundle-Debug/bundle.zip
Expand Down
52 changes: 23 additions & 29 deletions .github/workflows/atomicdex-desktop-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
DEX_PROJECT_NAME: "komodo-wallet"
DEX_DISPLAY_NAME: "Komodo Wallet"
DEX_COMPANY: "KomodoPlatform"
DEX_VERSION: "0.8.0"
DEX_VERSION: "0.8.1"
DEX_WEBSITE: "https://atomicdex.io/"
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/b/vcpkg_cache
VCPKG_BINARY_SOURCES: clear;x-gha,readwrite
Expand Down Expand Up @@ -56,13 +56,13 @@ jobs:
host: 'linux'

- name: osx-release
os: macos-12
os: macos-13
qt: '5.15.2'
type: 'Release'
host: 'mac'

- name: osx-debug
os: macos-12
os: macos-13
qt: '5.15.2'
type: 'Debug'
host: 'mac'
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -204,7 +203,7 @@ jobs:

- name: import code signing certificates (macos)
if: runner.os == 'macOS' && 'KomodoPlatform/komodo-wallet-desktop' == github.repository
uses: Apple-Actions/import-codesign-certs@v1
uses: Apple-Actions/import-codesign-certs@v3
with:
keychain: ${{ github.run_id }}
keychain-password: ${{ github.run_id }}
Expand All @@ -213,40 +212,40 @@ jobs:

- name: import installer code signing certificates (macos)
if: runner.os == 'macOS' && 'KomodoPlatform/komodo-wallet-desktop' == github.repository
uses: apple-actions/import-codesign-certs@v1
uses: apple-actions/import-codesign-certs@v3
with:
keychain: ${{ github.run_id }}
keychain-password: ${{ github.run_id }}
create-keychain: false
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.INSTALLER_MAC_SIGN_IDENTITY }}"
export INSTALLER_MAC_SIGN_IDENTITY="${{ secrets.MAC_SIGN_IDENTITY }}"
export APPLE_ATOMICDEX_PASSWORD="${{ secrets.APPLE_ATOMICDEX_PASSWORD }}"
export APPLE_ID="${{ secrets.APPLE_ID }}"
export ASC_PUBLIC_ID="${{ secrets.ASC_PUBLIC_ID }}"
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'
Expand All @@ -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
Expand All @@ -284,27 +282,25 @@ 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@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_zstd }}
path: ./bundled/linux/${{ env.target_name_zstd }}
retention-days: 7

- name: Upload bundle artifact (Linux ZIP)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_zip }}
path: ./bundled/linux/${{ env.target_name_zip }}
retention-days: 7

- name: Upload bundle artifact (Linux AppImage)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_appimage }}
path: ./bundled/linux/${{ env.target_name_appimage }}
Expand All @@ -318,15 +314,15 @@ jobs:
- name: Upload artifacts (MacOS dmg)
if: runner.os == 'macOS'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_dmg }}
path: ./bundled/osx/${{ env.DEX_PROJECT_NAME }}.dmg
retention-days: 7

- name: Upload artifacts (MacOS installer)
if: runner.os == 'macOS'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_installer }}
path: ./bundled/osx/${{ env.DEX_PROJECT_NAME }}_installer.7z
Expand All @@ -341,22 +337,20 @@ jobs:
- name: Upload artifacts (Windows zip)
if: runner.os == 'Windows'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_zip }}
path: ./bundled/windows/${{ env.DEX_PROJECT_NAME }}.zip
retention-days: 7

- name: Upload artifacts (Windows installer)
if: runner.os == 'Windows'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_installer }}
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
Expand All @@ -382,11 +376,11 @@ jobs:
if: runner.os == 'macOS' && 'KomodoPlatform/komodo-wallet-desktop' == github.repository
run: |
export MAC_SIGN_IDENTITY="${{ secrets.MAC_SIGN_IDENTITY }}"
export INSTALLER_MAC_SIGN_IDENTITY="${{ secrets.INSTALLER_MAC_SIGN_IDENTITY }}"
export INSTALLER_MAC_SIGN_IDENTITY="${{ secrets.MAC_SIGN_IDENTITY }}"
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 }}
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,11 @@ atomic_legacy_imgui
.vscode/settings.json
.vscode/tasks.json
bundled
build.log
.venv
.venv/*
cmake-3.19.0-rc3-Linux-x86_64
ci_tools_atomic_dex/cmake-3.19.0-rc3-Linux-x86_64
ci_tools_atomic_dex/cmake-3.19.0-rc3-Linux-x86_64/*
.venv/*
cmake-3.19.0-rc3-Linux-x86_64/*
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include(vcpkg_prerequisites)
include(qt_prerequisites)
include(cfg_hash)

project(${DEX_PROJECT_NAME} LANGUAGES CXX VERSION 0.8.0)
project(${DEX_PROJECT_NAME} LANGUAGES CXX VERSION 0.8.1)
message(STATUS "${PROJECT_NAME} is version ${PROJECT_VERSION}")

include(cmake_default_options)
Expand Down Expand Up @@ -60,13 +60,13 @@ endif ()
##! We fetch our dependencies
if (APPLE)
FetchContent_Declare(kdf
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v2.1.0-beta/mm2-35e923949-Darwin-Release.zip)
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v2.3.0-beta/mm2-8206c6ef6-Darwin-Release.zip)
elseif (UNIX AND NOT APPLE)
FetchContent_Declare(kdf
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v2.1.0-beta/mm2-35e923949-Linux-Release.zip)
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v2.3.0-beta/mm2-8206c6ef6-Linux-Release.zip)
else ()
FetchContent_Declare(kdf
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v2.1.0-beta/mm2-35e923949-Win64.zip)
URL https://github.com/KomodoPlatform/komodo-defi-framework/releases/download/v2.3.0-beta/mm2-8206c6ef6-Win64.zip)
endif ()

#FetchContent_Declare(qmaterial URL https://github.com/KomodoPlatform/Qaterial/archive/last-clang-working-2.zip)
Expand Down
Loading

0 comments on commit e6dd8a2

Please sign in to comment.