-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci(build): setup build ci * fix(ci): remove cli args for build * fix(ci): install dependencies on ubuntu * fix(deps): bump `vue-tsc` to v2 (#7) * chore(deps): update lock file * ci(build): add `librust-gdk-sys-dev` * ci(build): try use official command * ci(build): add `libjavascriptcoregtk-6.0-dev` * ci(build): use js v4.1 instead * ci(build): add `libsoup-3.0-dev` * ci: use v4.1
- Loading branch information
Showing
4 changed files
with
134 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# <!-- Why this PR? --> | ||
|
||
Resolved: <!-- #ISSUE_ID --> | ||
|
||
## What's being changed? | ||
|
||
<!-- | ||
(if available, include any code snippets, screenshots, or gif files) | ||
Check off the following: | ||
1. I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR). | ||
- For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory. | ||
2. For content changes, I have completed the self-review checklist. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Build Grassator | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
name: Build on ${{ matrix.platform }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- uses: pnpm/action-setup@v4 | ||
name: Install pnpm | ||
with: | ||
version: 9 | ||
run_install: false | ||
|
||
- name: Setup Node.js 20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
|
||
- name: Setup Rust Toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Install Tauri Linux Dependencies | ||
if: matrix.platform == 'ubuntu-latest' | ||
run: >- | ||
sudo apt-get update && | ||
sudo apt-get install -y | ||
libgtk-3-dev | ||
libayatana-appindicator3-dev | ||
libwebkit2gtk-4.1-dev | ||
webkit2gtk-driver | ||
xvfb | ||
libjavascriptcoregtk-4.1-dev | ||
libsoup-3.0-dev | ||
- name: Build | ||
run: pnpm tauri build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.