-
Notifications
You must be signed in to change notification settings - Fork 40
29 lines (26 loc) · 885 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Self-Hosted Test CI
on:
push:
branches:
- "tmp-host-riscv64"
jobs:
build:
runs-on: [self-hosted, linux, RISCV64]
steps:
# - name: Update & Upgrade
# run: sudo apt update && sudo apt upgrade --yes
- name: Test command
run: uname -a
- name: Checkout repository
uses: actions/checkout@v4
- name: Dependencies
run: sudo apt install meson llvm-18-dev lld-18 libssl-dev pkg-config clang-18 --yes
- name: Update alternatives
run: |
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 18
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 18
sudo update-alternatives --install /usr/bin/lld lld /usr/bin/lld-18 18
- name: Build
run: |
meson setup build
ninja -C build test