Try only extracting python folder (#2321)

old-commit-hash: f258366e0c
commatwo_master
Willem Melching 5 years ago committed by GitHub
parent b5793a7d44
commit af97e71063
  1. 50
      .github/workflows/sim_tests.yaml
  2. 2
      tools/sim/install_carla.sh

@ -1,26 +1,26 @@
# name: simulator
# on:
# push:
# pull_request:
name: simulator
on:
push:
pull_request:
# jobs:
# docker_build:
# name: build container
# runs-on: ubuntu-16.04
# timeout-minutes: 50
# if: github.repository == 'commaai/openpilot'
# steps:
# - uses: actions/checkout@v2
# with:
# submodules: true
# lfs: true
# - name: Docker build
# run: |
# docker pull commaai/openpilot-sim:latest || true
# tools/sim/build_container.sh
# - name: Push to dockerhub
# if: github.ref == 'refs/heads/master'
# run: |
# docker login -u wmelching -p ${{ secrets.COMMA_DOCKERHUB_TOKEN }}
# docker tag commaai/openpilot-sim docker.io/commaai/openpilot-sim:latest
# docker push docker.io/commaai/openpilot-sim:latest
jobs:
docker_build:
name: build container
runs-on: ubuntu-16.04
timeout-minutes: 50
if: github.repository == 'commaai/openpilot'
steps:
- uses: actions/checkout@v2
with:
submodules: true
lfs: true
- name: Docker build
run: |
docker pull commaai/openpilot-sim:latest || true
tools/sim/build_container.sh
- name: Push to dockerhub
if: github.ref == 'refs/heads/master'
run: |
docker login -u wmelching -p ${{ secrets.COMMA_DOCKERHUB_TOKEN }}
docker tag commaai/openpilot-sim docker.io/commaai/openpilot-sim:latest
docker push docker.io/commaai/openpilot-sim:latest

@ -8,7 +8,7 @@ curl -O http://carla-assets-internal.s3.amazonaws.com/Releases/Linux/$FILE
rm -rf carla_tmp
mkdir -p carla_tmp
cd carla_tmp
tar xvf ../$FILE
tar xvf ../$FILE PythonAPI/
easy_install PythonAPI/carla/dist/carla-0.9.7-py3.5-linux-x86_64.egg || true
cd ..
rm -rf /tmp/$FILE

Loading…
Cancel
Save