Update GTK dependency version in test workflow (#528)
* Update GTK dependency version in test workflow * Modify test.yml for new platforms and args Updated GitHub Actions workflow to include Ubuntu 22.04 and additional arguments for macOS. * Enable pull request trigger for workflow
This commit is contained in:
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
@@ -1,14 +1,20 @@
|
|||||||
name: "Build pull request"
|
name: "Build pull request"
|
||||||
on:
|
on:
|
||||||
#pull_request:
|
pull_request:
|
||||||
#types: ['opened', 'synchronize']
|
types: ['opened', 'synchronize']
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-tauri:
|
publish-tauri:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [macos-latest, ubuntu-20.04, windows-latest]
|
include:
|
||||||
|
- platform: 'macos-latest'
|
||||||
|
args: '--target universal-apple-darwin'
|
||||||
|
- platform: 'ubuntu-22.04'
|
||||||
|
args: ''
|
||||||
|
- platform: 'windows-latest'
|
||||||
|
args: ''
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
@@ -26,10 +32,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
- name: Install dependencies (ubuntu only)
|
- name: Install dependencies (ubuntu only)
|
||||||
if: matrix.platform == 'ubuntu-20.04'
|
if: matrix.platform == 'ubuntu-22.04'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
|
||||||
- name: Install cinny dependencies
|
- name: Install cinny dependencies
|
||||||
run: cd cinny && npm ci
|
run: cd cinny && npm ci
|
||||||
- name: Install tauri dependencies
|
- name: Install tauri dependencies
|
||||||
@@ -38,3 +44,6 @@ jobs:
|
|||||||
uses: tauri-apps/tauri-action@v0.5.14
|
uses: tauri-apps/tauri-action@v0.5.14
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||||
|
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
||||||
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||||
|
|||||||
Reference in New Issue
Block a user