Files
revive/.github/workflows/reusable-build-linux.yml
T
LJ 3d70def08c ci: Add Foundry tooling integration test (#511)
## Description

Adds a CI workflow that builds and tests a small Foundry project with
`foundry-polkadot`'s `forge`, exercising the standard JSON interface
between `resolc` and `foundry-polkadot` end-to-end.

## Resolved Issues

Closes #513
2026-06-24 10:38:07 +02:00

43 lines
1.1 KiB
YAML

name: Reusable Build — Linux
on:
workflow_call:
inputs:
retention_days:
description: "Artifact retention days"
required: false
type: number
default: 1
outputs:
url:
value: ${{ jobs.build.outputs.url }}
sha:
value: ${{ jobs.build.outputs.sha }}
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build Linux
runs-on: ubuntu-24.04
outputs:
url: ${{ steps.build.outputs.url }}
sha: ${{ steps.build.outputs.sha }}
concurrency:
# Use `reusable-build` and not `${{ github.workflow }}` here so that callers share the same concurrency group.
group: reusable-build-x86_64-unknown-linux-musl-${{ github.sha }}
cancel-in-progress: false
queue: max
steps:
- name: Checkout revive
uses: actions/checkout@v6
- name: Build resolc
id: build
uses: ./.github/actions/build-resolc
with:
target: x86_64-unknown-linux-musl
build-type: musl
retention-days: ${{ inputs.retention_days }}