2019-11-02 11:36:15 +03:00
|
|
|
name: test library
|
|
|
|
|
2019-11-28 01:26:24 +03:00
|
|
|
on: pull_request
|
2019-11-02 11:36:15 +03:00
|
|
|
|
|
|
|
jobs:
|
2019-11-28 01:26:24 +03:00
|
|
|
build-tauri:
|
2019-11-02 11:36:15 +03:00
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
fetch-depth: 3
|
2019-11-16 23:24:24 +03:00
|
|
|
- name: install stable
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: stable
|
2019-11-02 11:36:15 +03:00
|
|
|
- name: build
|
|
|
|
run: |
|
2019-11-28 01:26:24 +03:00
|
|
|
cd ./tauri
|
2019-11-02 11:36:15 +03:00
|
|
|
cargo build
|
|
|
|
|
2019-11-28 01:26:24 +03:00
|
|
|
build-tauri-cli:
|
2019-11-02 11:36:15 +03:00
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
fetch-depth: 3
|
2019-11-16 23:24:24 +03:00
|
|
|
- name: install stable
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: stable
|
2019-11-02 11:36:15 +03:00
|
|
|
- name: build
|
|
|
|
run: |
|
2019-11-28 01:26:24 +03:00
|
|
|
cd ./cli/tauri-cli
|
2019-11-02 11:36:15 +03:00
|
|
|
cargo build
|
|
|
|
|
2019-11-28 01:26:24 +03:00
|
|
|
test-tauri-js:
|
2019-11-02 11:36:15 +03:00
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
fetch-depth: 3
|
2019-11-28 01:26:24 +03:00
|
|
|
- name: test
|
2019-11-02 11:36:15 +03:00
|
|
|
run: |
|
2019-11-28 01:26:24 +03:00
|
|
|
cd ./cli/tauri.js
|
|
|
|
yarn
|
|
|
|
yarn test
|