-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (35 loc) · 1.08 KB
/
test-windows-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: "test-windows-build"
on:
push:
branches:
- release
jobs:
publish-tauri:
strategy:
fail-fast: false
matrix:
platform: [windows-latest]
runs-on: ${{ matrix.platform }}
steps:
# - uses: actions/checkout@v2
# with:
# token: ${{ secrets.MFER_NODE_PAT }}
# submodules: recursive
# - name: install Rust stable
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# - name: Setup Go environment
# uses: actions/[email protected]
- name: build mfer-node (windows only)
if: matrix.platform == 'windows-latest'
run: |
$TRIPLE = "x86_64-pc-windows-msvc"
env
rustc -Vv | grep host | cut -f2 -d' '
# cd mfer-node/cmd/mfer-node
echo "Building mfer-node-$TRIPLE"
$DEST = "$env:GITHUB_WORKSPACE/mfer-safe-desktop-app/src-tauri/bin/mfer-node-$TRIPLE"
echo "build dest: $DEST"
# go build -o $GITHUB_WORKSPACE/mfer-safe-desktop-app/src-tauri/bin/mfer-node-$TRIPLE
# dir $GITHUB_WORKSPACE/mfer-safe-desktop-app/src-tauri/bin