Skip to content

Commit 4f521ee

Browse files
authored
Add c2rust build (#32)
1 parent ac47878 commit 4f521ee

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
### DO NOT EDIT - created by a script ###
2+
name: c2rust via c2rust trunk
3+
4+
on:
5+
schedule:
6+
- cron: '0 0 * * *'
7+
workflow_dispatch:
8+
9+
jobs:
10+
daily-build:
11+
runs-on: [ 'self-hosted', 'ce', 'linux', 'x64' ]
12+
steps:
13+
- name: Start from a clean directory
14+
uses: AutoModality/[email protected]
15+
- uses: actions/checkout@v4
16+
- name: Run the build
17+
uses: ./.github/actions/daily-build
18+
with:
19+
image: c2rust
20+
name: c2rust
21+
command: build.sh
22+
args: trunk
23+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
24+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

build-status.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* [![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)
55
* [![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)
66
* [![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)
7+
* [![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)
78
* [![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)
89
* [![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)
910
* [![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)

compilers.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ compilers:
5454
- { image: rust-cg-gcc, name: rustc-cg-gcc_master, command: build.sh, args: master }
5555
- { image: misc, name: SPIRV-Tools, command: build-spirv-tools.sh, args: main }
5656
- { image: lc3, name: lc3, command: build.sh }
57+
- { image: c2rust, name: c2rust, command: build.sh }
5758
- { image: misc, name: clspv, command: build-clspv.sh, args: main }
5859
- { image: misc, name: jakt, command: build-jakt.sh, args: trunk }
5960
- { image: misc, name: cppfront, command: build-cppfront.sh, args: trunk }

0 commit comments

Comments
 (0)