-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from Travis to Github Actions (#225)
Signed-off-by: Christian Vetter <[email protected]>
- Loading branch information
Showing
6 changed files
with
148 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: flatdata-rs | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
workflow_dispatch: | ||
|
||
env: | ||
CARGO_TERM_COLORS: always | ||
|
||
jobs: | ||
GCC: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Dependencies | ||
run: sudo apt-get install python3-pip python3-setuptools libboost-filesystem-dev | ||
- name: Generator | ||
run: pip3 install ./flatdata-generator | ||
- name: Build and Test | ||
run: | | ||
CC=gcc CXX=g++ flatdata-cpp/ci/build-and-test-cpp.sh | ||
Clang: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Dependencies | ||
run: sudo apt-get install python3-pip python3-setuptools libboost-filesystem-dev | ||
- name: Generator | ||
run: pip3 install ./flatdata-generator | ||
- name: Build and Test | ||
run: | | ||
CC=clang CXX=clang++ flatdata-cpp/ci/build-and-test-cpp.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: flatdata-dot | ||
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 graphviz | ||
- name: Generator | ||
run: pip3 install ./flatdata-generator | ||
- name: Build and Test | ||
run: | | ||
ci/dot_test_cases.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: flatdata-generator | ||
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: Install | ||
run: | | ||
cd flatdata-generator | ||
# runtime requirements | ||
pip install -r requirements.txt | ||
# CI requirements | ||
pip install nose pylint | ||
- name: Run tests | ||
run: | | ||
cd flatdata-generator | ||
python -m nose | ||
pip install . | ||
flatdata-generator --help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: flatdata-py | ||
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: Install | ||
run: | | ||
pip install ./flatdata-generator | ||
cd flatdata-py | ||
# runtime requirements | ||
pip install -r requirements.txt | ||
# CI requirements | ||
pip install nose pylint | ||
- name: Run tests | ||
run: | | ||
cd flatdata-py | ||
python -m nose | ||
pip install . | ||
flatdata-inspector --help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file was deleted.
Oops, something went wrong.