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

29 lines
568 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
- name: Run tests
run: cargo test --verbose
2020-10-27 07:09:55 +00:00
- name: Build examples
run: cd implot-examples && cargo build --examples