Skip to content

Commit

Permalink
ci: add tauri build
Browse files Browse the repository at this point in the history
  • Loading branch information
stringhandler committed Dec 18, 2021
1 parent 869273e commit a4dec85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/base_node_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion applications/tari_collectibles/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"tauri": {
"bundle": {
"active": true,
"active": false,
"targets": "all",
"identifier": "com.tauri.dev",
"icon": [
Expand Down

0 comments on commit a4dec85

Please sign in to comment.