Skip to content

xilinx-v2024.2

xilinx-v2024.2 #7

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
concurrency: concurrency-group-to-prevent-cache-race
steps:
- uses: docker/[email protected]
with:
platforms: arm64
- uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/[email protected]
with:
lfs: true
persist-credentials: false
- name: Install Earthly
uses: ./.github/actions/install-earthly
- run: earthly --artifact --allow-privileged --ci +build/\* --XSA_FILE=design_1_wrapper.xsa /tmp/build/
env:
EARTHLY_MAX_REMOTE_CACHE: ${{ github.ref == 'refs/heads/main' }}
EARTHLY_PUSH: ${{ github.ref == 'refs/heads/main' }}
EARTHLY_REMOTE_CACHE: ghcr.io/tosainu/earthly-zynqmp-example:build-cache
FORCE_COLOR: true
- uses: actions/[email protected]
with:
name: build
path: /tmp/build