From f09088735688da26fcc611ae9dd107db4a4a0085 Mon Sep 17 00:00:00 2001 From: Mike the Tike Date: Sat, 18 Dec 2021 20:29:09 +0200 Subject: [PATCH] ci: add tauri build (#3669) --- .github/workflows/base_node_binaries.yml | 11 +++++++++++ .../tari_collectibles/src-tauri/tauri.conf.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/base_node_binaries.yml b/.github/workflows/base_node_binaries.yml index e7b42fd058..76a6510efa 100644 --- a/.github/workflows/base_node_binaries.yml +++ b/.github/workflows/base_node_binaries.yml @@ -142,7 +142,16 @@ jobs: #cd applications/tari_base_node #cargo build --release --bin tari_base_node --features ${{ matrix.features}} cargo build --release + - name: Build tauri apps + env: + RUSTFLAGS: "-C target_cpu=${{ matrix.target_cpu }}" + run: | + echo "Cache Key: ${{ runner.os }}-${{ matrix.os }}-${{ matrix.target_cpu }}-${{ matrix.features }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}" + cd applications/tari_collectibles + npm install + npm run tauri build + # - name: Prepare Archives # - name: Prepare Archives # shell: bash # run: | @@ -171,6 +180,8 @@ jobs: cp -v "$GITHUB_WORKSPACE/target/release/tari_console_wallet${TBN_EXT}" . cp -v "$GITHUB_WORKSPACE/target/release/tari_merge_mining_proxy${TBN_EXT}" . cp -v "$GITHUB_WORKSPACE/target/release/tari_mining_node${TBN_EXT}" . + cp -v "$GITHUB_WORKSPACE/target/release/tari_validator_node${TBN_EXT}" . + cp -v "$GITHUB_WORKSPACE/target/release/tari_collectibles${TBN_EXT}" . - name: Build the macos pkg if: startsWith(runner.os,'macOS') diff --git a/applications/tari_collectibles/src-tauri/tauri.conf.json b/applications/tari_collectibles/src-tauri/tauri.conf.json index c58f717f0d..e0d700f2e3 100644 --- a/applications/tari_collectibles/src-tauri/tauri.conf.json +++ b/applications/tari_collectibles/src-tauri/tauri.conf.json @@ -11,7 +11,7 @@ }, "tauri": { "bundle": { - "active": true, + "active": false, "targets": "all", "identifier": "com.tauri.dev", "icon": [