Skip to content

Commit

Permalink
Add traci and sumolib wheel from sumo
Browse files Browse the repository at this point in the history
  • Loading branch information
mgjm committed Apr 1, 2020
1 parent e3ef6f4 commit b434bd9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
matrix:
wheel:
- ns-3
- traci
fail-fast: false

steps:
Expand Down
24 changes: 24 additions & 0 deletions traci/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
section ---------------- install ----------------
run apt-get update
run apt-get install -y --no-install-recommends \
git \
ca-certificates \
python3-setuptools \
python3-wheel \
&& true

section ---------------- build ----------------
workdir /opt/sumo
run git clone -b "v1_5_0" --depth 1 https://github.com/eclipse/sumo .

universal_wheels='traci sumolib'

for wheel in $universal_wheels; do
workdir "/opt/$wheel"
run python3 "../sumo/tools/build/setup-$wheel.py" bdist_wheel --universal
done

section ---------------- assets ----------------
for wheel in $universal_wheels; do
asset "/opt/$wheel/dist"/*
done

0 comments on commit b434bd9

Please sign in to comment.