Skip to content

Commit ec31516

Browse files
committed
Add github action to build and publish cheri toolchain
Signed-off-by: Douglas Reis <doreis@lowrisc.org>
1 parent 6d19562 commit ec31516

2 files changed

Lines changed: 26 additions & 106 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 0 additions & 106 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release artifacts
2+
3+
on: [release]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Install
12+
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev cmake ninja-build
13+
14+
- name: Build
15+
run: ./cheribuild.py cheri-std093-llvm -d
16+
17+
- uses: actions/upload-artifact@v4
18+
with:
19+
name: 'cheri-llvm'
20+
path: ./output/
21+
22+
- uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
23+
if: startsWith(github.ref, 'refs/tags/')
24+
with:
25+
prerelease: true
26+
files: ./output/

0 commit comments

Comments
 (0)