Skip to content

Add Hylo support (#71) #149

Add Hylo support (#71)

Add Hylo support (#71) #149

Workflow file for this run

name: Build
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
image: ['misc', 'rocm', 'compcert', 'rust-cg-gcc', 'rust-linux', 'iwyu', 'lc3', 'nasm', 'hylo']
steps:
- name: Docker Setup Buildx
uses: docker/setup-buildx-action@v2
- name: Docker Login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push to Docker Hub
id: hub_build
uses: docker/build-push-action@v4
with:
push: ${{ github.ref == 'refs/heads/main' && 'true' || 'false' }}
tags: compilerexplorer/${{ matrix.image }}-builder:latest
cache-from: type=registry,ref=compilerexplorer/${{ matrix.image }}-builder:latest
cache-to: type=inline,mode=max
file: Dockerfile.${{ matrix.image }}
- name: Docker Hub Image Digest
run: echo ${{ steps.hub_build.outputs.digest }}