Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add c2rust build #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/build-daily-c2rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
### DO NOT EDIT - created by a script ###
name: c2rust via c2rust trunk

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
daily-build:
runs-on: [ 'self-hosted', 'ce', 'linux', 'x64' ]
steps:
- name: Start from a clean directory
uses: AutoModality/[email protected]
- uses: actions/checkout@v4
- name: Run the build
uses: ./.github/actions/daily-build
with:
image: c2rust
name: c2rust
command: build.sh
args: trunk
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
1 change: 1 addition & 0 deletions build-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* [![Status](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-arm32.yml/badge.svg)](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-arm32.yml)![Last success](https://img.shields.io/badge/dynamic/json?color=success&label=Last+OK&query=%24.last_success.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Farm32)![Last build](https://img.shields.io/badge/dynamic/json?color=yellow&label=Last+build&query=%24.last_build.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Farm32)
* [![Status](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-arm64.yml/badge.svg)](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-arm64.yml)![Last success](https://img.shields.io/badge/dynamic/json?color=success&label=Last+OK&query=%24.last_success.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Farm64)![Last build](https://img.shields.io/badge/dynamic/json?color=yellow&label=Last+build&query=%24.last_build.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Farm64)
* [![Status](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-bpf.yml/badge.svg)](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-bpf.yml)![Last success](https://img.shields.io/badge/dynamic/json?color=success&label=Last+OK&query=%24.last_success.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Fbpf)![Last build](https://img.shields.io/badge/dynamic/json?color=yellow&label=Last+build&query=%24.last_build.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Fbpf)
* [![Status](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-c2rust.yml/badge.svg)](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-c2rust.yml)![Last success](https://img.shields.io/badge/dynamic/json?color=success&label=Last+OK&query=%24.last_success.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Fc2rust)![Last build](https://img.shields.io/badge/dynamic/json?color=yellow&label=Last+build&query=%24.last_build.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Fc2rust)
* [![Status](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-carbon.yml/badge.svg)](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-carbon.yml)![Last success](https://img.shields.io/badge/dynamic/json?color=success&label=Last+OK&query=%24.last_success.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Fcarbon)![Last build](https://img.shields.io/badge/dynamic/json?color=yellow&label=Last+build&query=%24.last_build.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Fcarbon)
* [![Status](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-cc65.yml/badge.svg)](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-cc65.yml)![Last success](https://img.shields.io/badge/dynamic/json?color=success&label=Last+OK&query=%24.last_success.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Fcc65)![Last build](https://img.shields.io/badge/dynamic/json?color=yellow&label=Last+build&query=%24.last_build.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Fcc65)
* [![Status](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-circt_trunk.yml/badge.svg)](https://github.com/compiler-explorer/compiler-workflows/actions/workflows//build-daily-circt_trunk.yml)![Last success](https://img.shields.io/badge/dynamic/json?color=success&label=Last+OK&query=%24.last_success.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Fcirct_trunk)![Last build](https://img.shields.io/badge/dynamic/json?color=yellow&label=Last+build&query=%24.last_build.timestamp&url=https%3A%2F%2Flambda.compiler-explorer.com%2Fcompiler-build%2Fcirct_trunk)
Expand Down
1 change: 1 addition & 0 deletions compilers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ compilers:
- { image: rust-cg-gcc, name: rustc-cg-gcc_master, command: build.sh, args: master }
- { image: misc, name: SPIRV-Tools, command: build-spirv-tools.sh, args: main }
- { image: lc3, name: lc3, command: build.sh }
- { image: c2rust, name: c2rust, command: build.sh }
- { image: misc, name: clspv, command: build-clspv.sh, args: main }
- { image: misc, name: jakt, command: build-jakt.sh, args: trunk }
- { image: misc, name: cppfront, command: build-cppfront.sh, args: trunk }
Expand Down