Skip to content

Commit b43c923

Browse files
committed
Build with extras packages
Signed-off-by: Douglas Reis <doreis@lowrisc.org>
1 parent ec31516 commit b43c923

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Release artifacts
22

3-
on: [release]
3+
on:
4+
release:
5+
types: [published, prereleased]
46

57
jobs:
68
build:
@@ -12,15 +14,21 @@ jobs:
1214
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev cmake ninja-build
1315

1416
- name: Build
15-
run: ./cheribuild.py cheri-std093-llvm -d
17+
run: |
18+
./cheribuild.py cheri-std093-llvm --cheri-std093-llvm/include-projects="clang;clang-tools-extra;llvm;lld" -d
19+
20+
- name: Create tar
21+
run: |
22+
tar -czvf cheri-std093-sdk.tar.gz ./output/cheri-std093-sdk
1623
1724
- uses: actions/upload-artifact@v4
1825
with:
1926
name: 'cheri-llvm'
20-
path: ./output/
27+
path: cheri-std093-sdk.tar.gz
2128

22-
- uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
29+
- uses: softprops/action-gh-release@v2
2330
if: startsWith(github.ref, 'refs/tags/')
2431
with:
2532
prerelease: true
26-
files: ./output/
33+
files: cheri-std093-sdk.tar.gz
34+

0 commit comments

Comments
 (0)