Skip to content

Commit

Permalink
Add GitHub actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Jan 19, 2025
1 parent e45acbc commit 940b6e9
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 'build'

on:
push:
branches:
- tauri

env:
# renovate: datasource=npm depName=pnpm
PNPM_VERSION: 9.15.4

jobs:
build:
# permissions:
# contents: write
strategy:
fail-fast: false
matrix:
include:
- platform: 'ubuntu-24.04-arm'
args: ''

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4.2.2

- uses: pnpm/action-setup@v4.0.0
with:
version: ${{ env.PNPM_VERSION }}

- name: setup node
uses: actions/setup-node@v4.1.0
with:
cache: pnpm
cache-dependency-path: terminal/pnpm-lock.yaml
node-version: lts/*

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: install frontend dependencies
run: pnpm install

- uses: tauri-apps/tauri-action@v0.5.18
with:
args: ${{ matrix.args }}

0 comments on commit 940b6e9

Please sign in to comment.