Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 28 additions & 26 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
push:
branches:
- master

env:
CARGO_TERM_COLOR: always

Expand All @@ -24,29 +24,31 @@ jobs:
github.event_name == 'push' &&
startsWith(github.ref, 'refs/tags/')
)

container:
image: archlinux:latest


steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Install dependencies
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm base-devel libadwaita gtk4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt #, clippy

- name: Check formatting
run: cargo fmt --all -- --check

#- name: Run clippy
#run: cargo clippy --all-targets --all-features -- -D warnings

- name: Build project
run: cargo build --release
- name: Checkout code
uses: actions/checkout@v5

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt #, clippy

- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

# - name: Check formatting
# run: cargo fmt --all -- --check

- name: Install Bun Packages
run: bun install

- name: Build project
run: bun run tauri build --no-bundle
25 changes: 24 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
/target
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"Vue.volar",
"tauri-apps.tauri-vscode",
"rust-lang.rust-analyzer"
]
}
Loading
Loading