forked from exercism/odin
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (29 loc) · 924 Bytes
/
test.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
30
31
32
33
34
35
36
37
38
39
# This workflow creates an Odin environment and runs all tests for all exercises.
name: odin/Test
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-22.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@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Setup Odin
uses: laytan/setup-odin@3df60bd622575fda7efa4a3ec928f446bcae1a0a
with:
token: ${{ secrets.GITHUB_TOKEN }}
llvm-version: 18
release: dev-2024-09
- name: Verify all exercises
run: bin/verify-exercises