-
-
Notifications
You must be signed in to change notification settings - Fork 9
38 lines (31 loc) · 833 Bytes
/
ci.yml
File metadata and controls
38 lines (31 loc) · 833 Bytes
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
30
31
32
33
34
35
36
37
38
name: Testing native build
on:
pull_request:
branches: ['**', '!update/**', '!pr/**']
push:
branches: ['**', '!update/**', '!pr/**']
tags: [v*]
concurrency:
group: ${{ github.workflow }} @ ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Test
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install explicit LLVM toolchain
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
(yes "" || true) | sudo ./llvm.sh 19
- name: Show clang version
run: clang --version
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Test
run: sbt 'project rootNative' '++ 3' test