fix(ci): install webkit2gtk on ubuntu before building (#105)

This commit is contained in:
Rajiv Shah
2019-11-30 04:58:40 -05:00
committed by nothingismagick
parent ec2b9092ed
commit 2ce326e817

View File

@@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
platform: [macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
@@ -24,6 +24,26 @@ jobs:
cd ./tauri
cargo build
build-tauri-ubuntu-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 3
- name: install stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: install webkit2gtk
run: |
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: build
run: |
cd ./tauri
cargo build
build-tauri-cli:
runs-on: ${{ matrix.platform }}