implot-rs/.github/workflows/rust.yml

33 lines
764 B
YAML
Raw Normal View History

2020-10-18 16:29:40 +00:00
name: Tests
2020-10-18 16:23:26 +00:00
2020-10-18 16:27:10 +00:00
2020-10-18 16:23:26 +00:00
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-10-18 16:27:10 +00:00
- uses: jwsi/submodule-checkout@v1
- name: Install dependencies
2020-10-27 07:15:37 +00:00
run: sudo apt-get update && sudo apt-get install -y libxcb-shape0-dev libxcb-xfixes0-dev
2020-10-18 16:23:26 +00:00
- name: Build
run: cargo build --verbose
2020-12-12 11:45:28 +00:00
- name: Run idiomatic bindings tests
2020-10-18 16:23:26 +00:00
run: cargo test --verbose
2020-12-12 11:45:28 +00:00
- name: Run FFI tests
run: cd implot-sys/ && cargo test --verbose
2020-10-30 11:57:02 +00:00
- name: Build glium demo
run: cd implot-examples/implot-glium-demo && cargo build
- name: Build wgpu demo
run: cd implot-examples/implot-wgpu-demo && cargo build