mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
* test lib on PR * add build command * ls to see where we are at * ls after * cd in one step * less matrixes * Rename test-lib-on-pr.yml to test-on-pr.yml * pull out strategy * Update test-on-pr.yml * more spaces * jobs don't like spaces * test bindings * build templates * build tools
This commit is contained in:
committed by
nothingismagick
parent
1f5178c120
commit
1ee1933da5
72
.github/workflows/test-on-pr.yml
vendored
Normal file
72
.github/workflows/test-on-pr.yml
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
name: test library
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build-lib:
|
||||
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
|
||||
- name: build
|
||||
run: |
|
||||
cd ./lib/rust
|
||||
cargo build
|
||||
|
||||
build-bindings:
|
||||
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
|
||||
- name: build
|
||||
run: |
|
||||
cd ./bindings/rust
|
||||
cargo build
|
||||
|
||||
build-templates:
|
||||
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
|
||||
- name: build
|
||||
run: |
|
||||
cd ./templates/rust
|
||||
cargo build
|
||||
|
||||
build-tools-cargo-tauri-bundle:
|
||||
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
|
||||
- name: build
|
||||
run: |
|
||||
cd ./tools/rust/cargo-tauri-bundle
|
||||
cargo build
|
||||
Reference in New Issue
Block a user