-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1eeabd9
Showing
319 changed files
with
376,597 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,80 @@ | ||
# source: https://github.com/BamPeers/rust-ci-github-actions-workflow | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
|
||
name: Check and Lint | ||
|
||
env: | ||
GUROBI_DOWNLOAD: https://packages.gurobi.com/9.5/gurobi9.5.1_linux64.tar.gz | ||
GUROBI_DEST: /opt | ||
GUROBI_HOME: /opt/gurobi951/linux64 | ||
LD_LIBRARY_PATH: /opt/gurobi951/linux64/lib | ||
|
||
defaults: | ||
run: | ||
working-directory: ./dp-planner | ||
|
||
jobs: | ||
check: | ||
name: Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Download and Unarchive Gurobi | ||
run: curl -o ~/gurobi.tar.gz $GUROBI_DOWNLOAD && tar -xvf ~/gurobi.tar.gz -C $GUROBI_DEST | ||
|
||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: 1.65 # stable | ||
override: true | ||
|
||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: check | ||
use-cross: false | ||
args: --manifest-path dp-planner/Cargo.toml | ||
|
||
fmt: | ||
name: Rustfmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Download and Unarchive Gurobi | ||
run: curl -o ~/gurobi.tar.gz $GUROBI_DOWNLOAD && tar -xvf ~/gurobi.tar.gz -C $GUROBI_DEST | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: 1.65 #stable | ||
override: true | ||
|
||
- run: rustup component add rustfmt --toolchain 1.65-x86_64-unknown-linux-gnu #rustup component add rustfmt | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: fmt | ||
use-cross: false | ||
args: --manifest-path dp-planner/Cargo.toml --all -- --check | ||
|
||
clippy: | ||
name: Clippy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Download and Unarchive Gurobi | ||
run: curl -o ~/gurobi.tar.gz $GUROBI_DOWNLOAD && tar -xvf ~/gurobi.tar.gz -C $GUROBI_DEST | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: 1.65 #stable | ||
components: clippy | ||
override: true | ||
|
||
- uses: actions-rs/clippy-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
args: --manifest-path dp-planner/Cargo.toml --all-features | ||
name: Clippy Output |
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 @@ | ||
# source: https://github.com/BamPeers/rust-ci-github-actions-workflow | ||
# | ||
#on: | ||
# push: | ||
# branches: | ||
# - main | ||
# | ||
#name: Release Packaging | ||
# | ||
#jobs: | ||
# release: | ||
# name: Release Packaging | ||
# env: | ||
# PROJECT_NAME_UNDERSCORE: rust_ci_github_actions_workflow | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions-rs/toolchain@v1 | ||
# with: | ||
# profile: minimal | ||
# toolchain: stable | ||
# override: true | ||
# - name: Release Build | ||
# run: cargo build --release | ||
# - name: 'Upload Artifact' | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: ${{ env.PROJECT_NAME_UNDERSCORE }} | ||
# path: target/release/${{ env.PROJECT_NAME_UNDERSCORE }} |
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,75 @@ | ||
# source: https://github.com/BamPeers/rust-ci-github-actions-workflow | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
name: Test with Code Coverage | ||
|
||
env: | ||
GUROBI_DOWNLOAD: https://packages.gurobi.com/9.5/gurobi9.5.1_linux64.tar.gz | ||
GUROBI_DEST: /opt | ||
GUROBI_HOME: /opt/gurobi951/linux64 | ||
LD_LIBRARY_PATH: /opt/gurobi951/linux64/lib | ||
|
||
defaults: | ||
run: | ||
working-directory: ./dp-planner | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
env: | ||
PROJECT_NAME_UNDERSCORE: rust_ci_github_actions_workflow | ||
CARGO_INCREMENTAL: 0 | ||
RUSTFLAGS: -Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort | ||
RUSTDOCFLAGS: -Cpanic=abort | ||
defaults: | ||
run: | ||
working-directory: ./dp-planner | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install prerequisites for https://crates.io/crates/gmp-mpfr-sys | ||
run: sudo apt-get install -y diffutils gcc m4 make | ||
- name: Download and Unarchive Gurobi | ||
run: curl -o ~/gurobi.tar.gz $GUROBI_DOWNLOAD && tar -xvf ~/gurobi.tar.gz -C $GUROBI_DEST | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
#profile: minimal | ||
toolchain: nightly | ||
override: true | ||
# - name: Cache dependencies | ||
# uses: actions/cache@v2 | ||
# env: | ||
# cache-name: cache-dependencies | ||
# with: | ||
# path: | | ||
# ~/.cargo/.crates.toml | ||
# ~/.cargo/.crates2.json | ||
# ~/.cargo/bin | ||
# ~/.cargo/registry/index | ||
# ~/.cargo/registry/cache | ||
# target | ||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Cargo.lock') }} | ||
|
||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
use-cross: false | ||
args: --all-features --no-fail-fast -- --skip "::ilp::" | ||
#--manifest-path dp-planner/Cargo.toml | ||
env: | ||
CARGO_INCREMENTAL: '0' | ||
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' | ||
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' | ||
- id: coverage | ||
uses: actions-rs/[email protected] | ||
|
||
- name: Coveralls upload | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: ${{ steps.coverage.outputs.report }} |
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,173 @@ | ||
.idea | ||
|
||
gurobi_virtualenv/ | ||
|
||
gurobi/__pycache__/user_info_generator.cpython-38.pyc | ||
|
||
data/ | ||
temp/ | ||
# applications/ | ||
|
||
delta-lake/ | ||
|
||
tmp/ | ||
spark-warehouse/ | ||
|
||
doe-suite-results/ | ||
|
||
workload-simulator/spark-warehouse | ||
|
||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
*.py,cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
cover/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
.pybuilder/ | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# IPython | ||
profile_default/ | ||
ipython_config.py | ||
|
||
# pyenv | ||
# For a library or package, you might want to ignore these files since the code is | ||
# intended to run in multiple environments; otherwise, check them in: | ||
# .python-version | ||
|
||
# pipenv | ||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. | ||
# However, in case of collaboration, if having platform-specific dependencies or dependencies | ||
# having no cross-platform support, pipenv may install dependencies that don't work, or not | ||
# install all needed dependencies. | ||
#Pipfile.lock | ||
|
||
# poetry | ||
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. | ||
# This is especially recommended for binary packages to ensure reproducibility, and is more | ||
# commonly ignored for libraries. | ||
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control | ||
#poetry.lock | ||
|
||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow | ||
__pypackages__/ | ||
|
||
# Celery stuff | ||
celerybeat-schedule | ||
celerybeat.pid | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ | ||
.dmypy.json | ||
dmypy.json | ||
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# pytype static type analyzer | ||
.pytype/ | ||
|
||
# Cython debug symbols | ||
cython_debug/ | ||
|
||
# PyCharm | ||
# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can | ||
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore | ||
# and can be added to the global gitignore or merged into this file. For a more nuclear | ||
# option (not recommended) you can uncomment the following to ignore the entire idea folder. | ||
#.idea/ | ||
doe-suite-config/group_vars/all/gurobi_license.yml |
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,3 @@ | ||
[submodule "doe-suite"] | ||
path = doe-suite | ||
url = [email protected]:nicolas-kuechler/doe-suite.git |
Oops, something went wrong.