-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 886 Bytes
/
ubuntu.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
40
41
name: Ubuntu
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
ubuntu-cmake-gcc:
name: ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update
sudo apt install g++ build-essential cmake make libgmp-dev libmpfr-dev
sudo apt upgrade
- name: Run tests
run: |
cd ./number_theory
chmod +x ./run_gcc_tests.sh
./run_gcc_tests.sh
ubuntu-cmake-clang:
name: ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update
sudo apt install clang llvm cmake make libgmp-dev libmpfr-dev
- name: Run tests
run: |
cd ./number_theory
chmod +x ./run_clang_tests.sh
./run_clang_tests.sh