Skip to content

Commit edb2cda

Browse files
committed
Taurification done
1 parent a271ea3 commit edb2cda

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+6283
-0
lines changed

.github/workflows/release.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags: ['v*']
6+
7+
jobs:
8+
release:
9+
permissions:
10+
contents: write
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
include:
15+
- platform: macos-latest
16+
args: '--target aarch64-apple-darwin'
17+
- platform: macos-latest
18+
args: '--target x86_64-apple-darwin'
19+
- platform: ubuntu-22.04
20+
args: ''
21+
- platform: windows-latest
22+
args: ''
23+
24+
runs-on: ${{ matrix.platform }}
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- name: Setup Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: 20
32+
33+
- name: Install Rust stable
34+
uses: dtolnay/rust-toolchain@stable
35+
with:
36+
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
37+
38+
- name: Install Linux dependencies
39+
if: matrix.platform == 'ubuntu-22.04'
40+
run: |
41+
sudo apt-get update
42+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
43+
44+
- name: Install WiX toolset (Windows)
45+
if: matrix.platform == 'windows-latest'
46+
run: |
47+
Invoke-WebRequest -Uri https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip -OutFile wix314.zip
48+
Expand-Archive wix314.zip -DestinationPath "$env:USERPROFILE\wix314"
49+
echo "$env:USERPROFILE\wix314" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
50+
shell: pwsh
51+
52+
- name: Install Node dependencies
53+
run: npm install
54+
55+
- name: Build and release
56+
uses: tauri-apps/tauri-action@v0
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
# macOS code signing & notarization – set these secrets in GitHub repo settings.
60+
# Without them the macOS build will still succeed but will be unsigned.
61+
APPLE_CERTIFICATE: ${{ secrets.PROD_MACOS_CERTIFICATE }}
62+
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.PROD_MACOS_CERTIFICATE_PWD }}
63+
APPLE_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_APPLE_ID }}
64+
APPLE_PASSWORD: ${{ secrets.PROD_MACOS_NOTARIZATION_PWD }}
65+
APPLE_TEAM_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_TEAM_ID }}
66+
with:
67+
tagName: ${{ github.ref_name }}
68+
releaseName: 'Sealion ${{ github.ref_name }}'
69+
releaseBody: 'See the assets below to download Sealion for your platform.'
70+
releaseDraft: true
71+
prerelease: false
72+
args: ${{ matrix.args }}

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,3 +416,10 @@ FodyWeavers.xsd
416416
*.msix
417417
*.msm
418418
*.msp
419+
420+
# Tauri / Rust build artefacts
421+
src-tauri/target/
422+
src-tauri/gen/
423+
424+
# macOS metadata
425+
**/.DS_Store

logo/sealion.pdf

2.95 MB
Binary file not shown.

logo/sealion.png

102 KB
Loading

package-lock.json

Lines changed: 232 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "sealion",
3+
"version": "0.1.0",
4+
"description": "Sealion — Genomic Alignment Viewer (Tauri desktop app)",
5+
"private": true,
6+
"scripts": {
7+
"tauri": "tauri",
8+
"dev": "tauri dev",
9+
"build": "tauri build",
10+
"icon": "tauri icon"
11+
},
12+
"devDependencies": {
13+
"@tauri-apps/cli": "^2.0.0"
14+
}
15+
}

0 commit comments

Comments
 (0)