Skip to content

[webview-sys] Update for XCode 15.3 #127

[webview-sys] Update for XCode 15.3

[webview-sys] Update for XCode 15.3 #127

Workflow file for this run

on:
push:
branches:
- master
pull_request:
jobs:
rustfmt:
runs-on: ubuntu-latest
name: rustfmt
steps:
- uses: actions/checkout@v1
- name: install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt
override: true
- name: install rustfmt
run: rustup component add rustfmt
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
test-stable:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, windows-2019, ubuntu-latest]
name: cargo test stable
steps:
- uses: actions/checkout@v1
- name: install libgtk-dev libwebkit2gtk-4.0
run: |
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev
if: contains(matrix.os, 'ubuntu')
- name: install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: cargo test --workspace --all-targets
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-targets
- name: cargo test --workspace --doc
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --doc
test-nightly:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, windows-2019, ubuntu-latest]
name: cargo test nightly
steps:
- uses: actions/checkout@v1
- name: install libgtk-dev libwebkit2gtk-4.0
run: |
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev
if: contains(matrix.os, 'ubuntu')
- name: install nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
- name: cargo test --workspace --all-targets
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-targets
- name: cargo test --workspace --doc
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --doc
check-docs:
name: Docs
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, windows-2019, ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: install libgtk-dev libwebkit2gtk-4.0
run: |
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev
if: contains(matrix.os, 'ubuntu')
- name: install nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
- name: check docs
uses: actions-rs/cargo@v1
with:
command: doc
args: --workspace --document-private-items