Compare commits

..

No commits in common. "main" and "v12.3.1" have entirely different histories.

4 changed files with 14 additions and 25 deletions

View File

@ -1,14 +1,14 @@
FROM debian:stable-slim FROM debian:stable-slim
ARG VERSION=13.3.rel1 ARG VERSION=12.3.1-1.1
RUN ARCH="$(dpkg --print-architecture)" && \ RUN ARCH="$(dpkg --print-architecture)" && \
case $ARCH in \ case $ARCH in \
"amd64") \ "amd64") \
ARCH_TAG="x86_64" \ ARCH_TAG="x64" \
;; \ ;; \
"arm64") \ "arm64") \
ARCH_TAG="aarch64" \ ARCH_TAG="arm64" \
;; \ ;; \
esac && \ esac && \
# Get nessecary packages # Get nessecary packages
@ -16,24 +16,18 @@ RUN ARCH="$(dpkg --print-architecture)" && \
apt-get install \ apt-get install \
--no-install-recommends \ --no-install-recommends \
make \ make \
ninja-build \
cmake \ cmake \
wget \ wget \
ca-certificates \ ca-certificates \
xz-utils \
-y && \ -y && \
rm -rf /var/cache/apt && \ rm -rf /var/cache/apt && \
mkdir /workdir && \ mkdir /workdir && \
cd /workdir && \ cd /workdir && \
wget https://developer.arm.com/-/media/Files/downloads/gnu/${VERSION}/binrel/arm-gnu-toolchain-${VERSION}-${ARCH_TAG}-arm-none-eabi.tar.xz && \ wget https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v${VERSION}/xpack-arm-none-eabi-gcc-${VERSION}-linux-${ARCH_TAG}.tar.gz && \
tar xvf arm-gnu-toolchain-${VERSION}-${ARCH_TAG}-arm-none-eabi.tar.xz && \ tar xvf xpack-arm-none-eabi-gcc-${VERSION}-linux-${ARCH_TAG}.tar.gz && \
#wget https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v${VERSION}/xpack-arm-none-eabi-gcc-${VERSION}-linux-${ARCH_TAG}.tar.gz && \ rm xpack-arm-none-eabi-gcc-${VERSION}-linux-${ARCH_TAG}.tar.gz
#tar xvf xpack-arm-none-eabi-gcc-${VERSION}-linux-${ARCH_TAG}.tar.gz && \
rm arm-gnu-toolchain-${VERSION}-${ARCH_TAG}-arm-none-eabi.tar.xz && \ RUN echo 'export PATH="/workdir/xpack-arm-none-eabi-gcc-'${VERSION}'/bin:$PATH"' >> /etc/bashrc
echo 'export PATH="/workdir/arm-gnu-toolchain-'${VERSION}'-'${ARCH_TAG}'-arm-none-eabi/bin:$PATH"' >> /etc/bashrc && \
apt-get remove ca-certificates xz-utils wget -y && \
apt autoremove -y && \
apt autoclean -y
ADD entrypoint.sh /entrypoint.sh ADD entrypoint.sh /entrypoint.sh

View File

@ -4,7 +4,7 @@ Building arm-gcc projects
## Usage: ## Usage:
```yml ```
jobs: jobs:
build: build:
@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: make - name: make
uses: embedd-actions/arm-gcc-ci@12.3.rel1 uses: embedd-actions/arm-gcc-ci@v12.3.1
with: with:
command: make --directory Release all command: make --directory Release all
@ -23,7 +23,5 @@ jobs:
## List of available tags ## List of available tags
``` ```
11.3.rel1 v12.3.1
12.3.rel1
13.3.rel1
``` ```

View File

@ -1,8 +1,5 @@
name: 'ARM GCC build' name: 'ARM GCC build'
description: 'Building arm-gcc projects' description: 'Building arm projects'
branding:
color: blue
icon: microchip
inputs: inputs:
command: command:
description: 'Command' description: 'Command'
@ -10,7 +7,7 @@ inputs:
default: arm-none-eabi-gcc --version default: arm-none-eabi-gcc --version
runs: runs:
using: 'docker' using: 'docker'
image: 'docker://sergeyladanov/arm-gcc:13.3.rel1' image: 'docker://sergeyladanov/arm-gcc:v12.3.1'
args: args:
- ${{ inputs.command }} - ${{ inputs.command }}

View File

@ -2,4 +2,4 @@
. /etc/bashrc . /etc/bashrc
exec bash -c "$@" exec $@