-
-
Notifications
You must be signed in to change notification settings - Fork 13
41 lines (30 loc) · 962 Bytes
/
test-all.yml
File metadata and controls
41 lines (30 loc) · 962 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
39
40
41
# This workflow creates an Odin environment and runs all tests for all exercises.
name: odin/Test
on:
push:
branches:
- main
jobs:
ci:
runs-on: ubuntu-24.04
steps:
- name: Download Clang
run: wget https://apt.llvm.org/llvm.sh
- name: Set install script permissions
run: chmod u+x llvm.sh
- name: Install Clang 18
run: sudo ./llvm.sh 18
- name: Setup default version
run: sudo ln -f /usr/bin/clang-18 /usr/bin/clang
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup Odin
uses: laytan/setup-odin@1e0d12e3bffd1aa07e586a3d9effb2d991a19d36
with:
token: ${{ secrets.GITHUB_TOKEN }}
llvm-version: 18
release: dev-2025-10
- name: Install odinfmt
run: bin/fetch-ols-odinfmt.sh
- name: Verify all exercises
run: bin/verify-exercises