Skip to content

Commit

Permalink
chore: add a tmate github action (#62)
Browse files Browse the repository at this point in the history
This is to help on-boarding CI for linux.
  • Loading branch information
cablehead committed May 11, 2024
1 parent 7273b5c commit df8085d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tmate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: tmate session

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install dependencies (ubuntu only)
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- uses: actions/checkout@v4

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
6 changes: 4 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ cacache = { version = "11.6.0", default-features = false, features = ["tokio-run
sled = "0.34.7"
bincode = "1.3.3"
ssri = "9.0.0"
objc = "0.2.7"
cocoa = "0.25.0"
tiktoken-rs = "0.5.0"
dirs = "5.0.1"
tantivy = "0.20.2"
Expand All @@ -52,6 +50,10 @@ clap = "4.5.2"
bytes = "1.5.0"
url = "2.5.0"

[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2.7"
cocoa = "0.25.0"


[dev-dependencies]
indoc = "1.0.7"
Expand Down

0 comments on commit df8085d

Please sign in to comment.