-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #374 from RoyAmoyal/fix_installation_ubuntu20.04_2…
…2.04
- Loading branch information
Showing
5 changed files
with
98 additions
and
14 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 |
---|---|---|
|
@@ -14,12 +14,12 @@ jobs: | |
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
|
@@ -28,18 +28,16 @@ jobs: | |
uses: betwo/[email protected] | ||
with: | ||
# Version range or exact version of ROS version to use, using SemVer's version range syntax. | ||
ros-version: 'melodic' | ||
ros-version: 'noetic' | ||
build-tool: 'catkin_tools' | ||
# Root directory of the catkin workspace | ||
workspace: ./ros | ||
|
||
- name: Compilation settings | ||
run: | | ||
sudo apt-get -y install gcc-8 g++-8 rsync libyaml-cpp-dev libcurl4-openssl-dev | ||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 700 --slave /usr/bin/g++ g++ /usr/bin/g++-7 | ||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8 | ||
sudo apt-get -y install rsync libyaml-cpp-dev libcurl4-openssl-dev | ||
- name: Setup AirSim | ||
- name: Setup AirSim | ||
run: | | ||
./setup.sh | ||
./build.sh | ||
|
@@ -48,7 +46,7 @@ jobs: | |
- name: Build catkin ws | ||
run: | | ||
set -ex o pipefail | ||
catkin build | ||
working-directory: ./ros | ||
catkin build | ||
working-directory: ./ros | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' |
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
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,51 @@ | ||
FROM ubuntu:20.04 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
sudo \ | ||
git \ | ||
build-essential \ | ||
cmake \ | ||
libboost-all-dev \ | ||
libasio-dev \ | ||
libtinyxml2-dev \ | ||
libcurl4-openssl-dev \ | ||
libglfw3-dev \ | ||
libglew-dev \ | ||
libpng-dev \ | ||
libjpeg-dev \ | ||
libopencv-dev \ | ||
libtiff-dev \ | ||
python3 \ | ||
python3-pip \ | ||
python3-dev \ | ||
unzip \ | ||
wget \ | ||
lsb-release \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
clang-8 \ | ||
lld-8 \ | ||
llvm-8 \ | ||
llvm-8-dev \ | ||
llvm-8-tools | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
g++ \ | ||
libc++-dev \ | ||
libc++abi-dev | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
wget \ | ||
software-properties-common \ | ||
gnupg \ | ||
rsync \ | ||
&& apt-get clean | ||
|
||
WORKDIR /home/airsim/Formula-Student-Driverless-Simulator/AirSim | ||
|
||
ENTRYPOINT ["/bin/bash"] | ||
|
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
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