-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 1.09 KB
/
fedora.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
42
43
44
45
46
47
48
name: Fedora
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
fedora-cmake-gcc:
name: fedora
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- uses: actions/checkout@v3
- run: cat /etc/os-release
- name: Install dependencies
run: |
sudo dnf -y update
sudo dnf -y install gcc-c++ cmake make gmp gmp-devel gmp-c++ gmp-devel gmp-static mpfr-devel
sudo dnf upgrade
- name: Run tests
run: |
cd ./number_theory
chmod +x ./run_gcc_tests.sh
./run_gcc_tests.sh
fedora-cmake-clang:
name: fedora
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- uses: actions/checkout@v3
- run: cat /etc/os-release
- name: Install dependencies
run: |
sudo dnf -y update
sudo dnf -y install clang cmake make gmp gmp-devel gmp-c++ gmp-devel gmp-static mpfr-devel
sudo dnf upgrade
- name: Run tests
run: |
cd ./number_theory
chmod +x ./run_clang_tests.sh
./run_clang_tests.sh