-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (34 loc) · 1.04 KB
/
tauri.yaml
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
38
39
40
name: Tauri builds
on: [push]
jobs:
build-tauri:
strategy:
fail-fast: true
matrix:
os: [
macos-13,
macos-14,
ubuntu-22.04,
]
runs-on: ${{ matrix.os }}
steps:
- name: Free up disk space in action runner
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get clean
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: ./prep-tauri.sh
- run: nix develop .#tauri-shell --command ob-tauri-before-build-ci
working-directory: ./tauri-app
env:
WALLETCONNECT_PROJECT_ID: ${{ secrets.WALLETCONNECT_PROJECT_ID }}
- run: nix develop .#tauri-shell --command cargo tauri build --verbose
working-directory: ./tauri-app