-
Notifications
You must be signed in to change notification settings - Fork 0
Cleanup Dockerfiles by removing unused asn1c instructions and comments #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9ebace2
452a4c1
61771db
45690bb
fa1a17c
27737d3
492e923
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,7 @@ jobs: | |
| apt update | ||
| apt-get -y install sudo wget curl gnupg lsb-release gcovr unzip gcc-multilib libasan* | ||
| sudo apt-get -y install software-properties-common | ||
| sudo apt-get -y install libcurl4-openssl-dev | ||
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | ||
| sudo add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | ||
| sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | ||
|
|
@@ -57,21 +58,13 @@ jobs: | |
|
|
||
| - name: Install pugixml | ||
| run: | | ||
| git clone https://github.com/vlm/asn1c.git | ||
| git clone https://github.com/zeux/pugixml.git | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. question (non-blocking): it's not related to the changes in this PR, but do you know why we're explicitly cloning here and not using git submodule?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know if there is a particular reasoning that the original author of |
||
| cd ./pugixml && mkdir -p build && cd build && cmake .. && make && make install | ||
| working-directory: ${{ env.working-directory }} | ||
|
|
||
| - name: Build and install asn1c submodule | ||
|
mcook42 marked this conversation as resolved.
|
||
| run: | | ||
| sudo apt-get -y install libtool autoconf | ||
| cd ./asn1c && aclocal && test -f configure || autoreconf -iv && ./configure && make && make install | ||
| working-directory: ${{ env.working-directory }} | ||
|
|
||
| - name: Generate ASN.1 API. | ||
| - name: Extract implementation and header files | ||
| run: | | ||
| export LD_LIBRARY_PATH=/usr/local/lib | ||
| git clone https://github.com/usdot-jpo-ode/scms-asn1.git | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note: SCMS files are now tracked directly in the asn1_codec repo so this clone command was unnecessary. |
||
| cd ./asn1c_combined && bash doIt.sh | ||
| working-directory: ${{ env.working-directory }} | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This was necessary to get the CI checks to pass.