forked from heremaps/flatdata
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 819 Bytes
/
rust.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: flatdata-rs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
env:
CARGO_TERM_COLORS: always
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: sudo apt-get install python3-venv
- name: Build
run: |
# use generator from source
export FLATDATA_GENERATOR_PATH=${PWD}/flatdata-generator
cd flatdata-rs
cargo build --all-targets
cargo build --all-targets --all-features
- name: Run tests
run: |
# use generator from source
export FLATDATA_GENERATOR_PATH=${PWD}/flatdata-generator
cd flatdata-rs
cargo test --all-targets
cargo test --all-targets --all-features