Skip to content

Commit

Permalink
restore rtems runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Mar 19, 2024
1 parent 7a8b96b commit 5b6f105
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,26 @@ jobs:
name: epics-base
base_image: ubuntu:22.04
platform: linux/amd64
target: runtime

# cross compile for RTEMS to VME5500 (power pc beatnik)
- epics-target: RTEMS-beatnik
epics-host: linux-x86_64
name: epics-base-rtems-beatnik
base_image: ghcr.io/epics-containers/rtems-beatnik-runtime:6.1rc2
platform: linux/amd64
target: developer

# cross compile to arm64
- epics-target: linux-aarch64
epics-host: linux-x86_64
name: epics-base-aarch64
base_image: ubuntu:22.04
platform: linux/amd64
target: runtime

runs-on: ${{ matrix.os }}
env:
TAG: ghcr.io/${{ github.repository_owner }}/${{ matrix.name }}

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1

- name: Log in to GitHub Docker Registry
uses: docker/login-action@v3
with:
Expand All @@ -66,9 +57,8 @@ jobs:
- name: Build image
uses: docker/build-push-action@v5
with:
context: .
platforms: ${{ matrix.platform }}
target: ${{ matrix.target }}
target: runtime
build-args: |
EPICS_TARGET_ARCH=${{ matrix.epics-target }}
EPICS_HOST_ARCH=${{ matrix.epics-host }}
Expand All @@ -81,7 +71,6 @@ jobs:
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
uses: docker/build-push-action@v5
with:
context: .
platforms: ${{ matrix.platform }}
target: developer
build-args: |
Expand All @@ -92,10 +81,9 @@ jobs:
push: true

- name: Push runtime image
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' && matrix.target == 'runtime'}}
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
uses: docker/build-push-action@v5
with:
context: .
platforms: ${{ matrix.platform }}
target: runtime
build-args: |
Expand Down

0 comments on commit 5b6f105

Please sign in to comment.