Skip to content

Commit f758905

Browse files
committed
CI
1 parent 13b0b05 commit f758905

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Self-Hosted Test CI
2+
3+
on:
4+
push:
5+
branches:
6+
- "tmp-host-riscv64"
7+
8+
jobs:
9+
build:
10+
runs-on: [self-hosted, linux, RISCV64]
11+
steps:
12+
# - name: Update & Upgrade
13+
# run: sudo apt update && sudo apt upgrade --yes
14+
- name: Test command
15+
run: uname -a
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
- name: Dependencies
19+
run: sudo apt install meson llvm-18-dev lld-18 libssl-dev pkg-config clang-18 --yes
20+
- name: Update alternatives
21+
run: |
22+
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 18
23+
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 18
24+
sudo update-alternatives --install /usr/bin/lld lld /usr/bin/lld-18 18
25+
- name: Build
26+
run: |
27+
meson setup build
28+
ninja -C build test
29+

0 commit comments

Comments
 (0)