-
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.
Merge pull request #1 from ryanwinter/bullseye
update to ubuntu and latest cmake and latest gcc
- Loading branch information
Showing
2 changed files
with
27 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Docker build and test | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Build Docker image | ||
run: docker build -t docker-arm-none-eabi-gcc . |
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 |
---|---|---|
@@ -1,11 +1,15 @@ | ||
ARG VARIANT=buster | ||
ARG VARIANT=ubuntu | ||
FROM mcr.microsoft.com/vscode/devcontainers/base:${VARIANT} | ||
|
||
RUN apt-get update \ | ||
&& apt-get -y install --no-install-recommends bzip2 cmake ninja-build \ | ||
&& apt-get clean -y \ | ||
# Install cmake repository | ||
RUN wget -qO- https://apt.kitware.com/kitware-archive.sh | sh | ||
|
||
RUN apt update \ | ||
&& apt -y install --no-install-recommends ninja-build wget cmake xz-utils \ | ||
&& apt clean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install GCC | ||
WORKDIR /work | ||
RUN wget -qO- https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 | tar -xj | ||
ENV PATH $PATH:/work/gcc-arm-none-eabi-10-2020-q4-major/bin | ||
RUN wget -qO- https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz | tar -xJ | ||
ENV PATH $PATH:/work/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi/bin |