File tree 7 files changed +127
-3
lines changed
7 files changed +127
-3
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ concurrency:
11
11
cancel-in-progress : true
12
12
13
13
jobs :
14
- Tests :
15
- name : Clang CPU Tests
14
+ Tests-gmake :
15
+ name : Clang Tests & GNU Make
16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- uses : actions/checkout@v4
33
33
make -j4 USE_CPU=TRUE COMP=clang
34
34
./main.llvm.ex
35
35
36
- Tutorials :
36
+ Tutorials-gmake :
37
37
name : Clang libamrexpr & GNU Make
38
38
runs-on : ubuntu-latest
39
39
steps :
51
51
cd Tutorials/libamrexpr
52
52
make -j4 CXX=clang++
53
53
./a.out
54
+
55
+ Tests-cmake :
56
+ name : Clang Tests & CMake
57
+ runs-on : ubuntu-latest
58
+ steps :
59
+ - uses : actions/checkout@v4
60
+ - name : Dependencies
61
+ run : |
62
+ .github/workflows/dependencies/dependencies_clang.sh
63
+ - name : Tests
64
+ run : |
65
+ mkdir build
66
+ cd build
67
+ cmake .. -DCMAKE_CXX_COMPILER=clang++ -DENABLE_TESTS=ON
68
+ make -j4 VERBOSE=ON
69
+ ctest --output-on-failure
70
+
71
+ Tutorials-gmake :
72
+ name : Clang libamrexpr & GNU Make
73
+ runs-on : ubuntu-latest
74
+ steps :
75
+ - uses : actions/checkout@v4
76
+ - name : Dependencies
77
+ run : |
78
+ .github/workflows/dependencies/dependencies_clang.sh
79
+ - name : Build libamrexpr
80
+ run : |
81
+ mkdir build
82
+ cd build
83
+ cmake .. -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=../installdir
84
+ make -j4 VERBOSE=ON
85
+ cd ..
86
+ - name : Run
87
+ run : |
88
+ cd Tutorials/libamrexpr
89
+ mkdir build
90
+ cd build
91
+ cmake .. -DCMAKE_PREFIX_PATH=../../installdir -DCMAKE_CXX_COMPILER=clang++
92
+ make -j4 VEBOSE=ON
93
+ ./parser_test
Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ sudo apt-get update
11
11
12
12
sudo apt-get install -y --no-install-recommends \
13
13
build-essential \
14
+ cmake \
14
15
clang
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ for itry in {1..5}
25
25
do
26
26
sudo apt-get install -y --no-install-recommends \
27
27
build-essential \
28
+ cmake \
28
29
intel-oneapi-compiler-dpcpp-cpp \
29
30
&& { sudo apt-get clean; status=0; break ; } \
30
31
|| { sleep 10; }
Original file line number Diff line number Diff line change @@ -31,4 +31,5 @@ echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo t
31
31
sudo apt-get update
32
32
sudo apt-get install -y --no-install-recommends \
33
33
build-essential \
34
+ cmake \
34
35
rocm-dev
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ sudo dpkg -i cuda-keyring_1.1-1_all.deb
22
22
sudo apt-get update
23
23
VERSION_DASHED=$( apt-cache search cuda-compiler* | tail -n1 | cut -d' ' -f1 | sed ' s/cuda-compiler-//' )
24
24
sudo apt-get install -y \
25
+ cmake \
25
26
cuda-command-line-tools-$VERSION_DASHED \
26
27
cuda-compiler-$VERSION_DASHED \
27
28
cuda-minimal-build-$VERSION_DASHED
Original file line number Diff line number Diff line change 51
51
cd Tutorials/libamrexpr
52
52
make -j4 CXX=g++
53
53
./a.out
54
+
55
+ Tests-cmake :
56
+ name : GCC Tests & CMake
57
+ runs-on : ubuntu-latest
58
+ steps :
59
+ - uses : actions/checkout@v4
60
+ - name : Dependencies
61
+ run : |
62
+ .github/workflows/dependencies/dependencies_gcc.sh
63
+ - name : Tests
64
+ run : |
65
+ mkdir build
66
+ cd build
67
+ cmake .. -DCMAKE_CXX_COMPILER=g++ -DENABLE_TESTS=ON
68
+ make -j4 VERBOSE=ON
69
+ ctest --output-on-failure
70
+
71
+ Tutorials-gmake :
72
+ name : GCC libamrexpr & GNU Make
73
+ runs-on : ubuntu-latest
74
+ steps :
75
+ - uses : actions/checkout@v4
76
+ - name : Dependencies
77
+ run : |
78
+ .github/workflows/dependencies/dependencies_gcc.sh
79
+ - name : Build libamrexpr
80
+ run : |
81
+ mkdir build
82
+ cd build
83
+ cmake .. -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=../installdir
84
+ make -j4 VERBOSE=ON
85
+ cd ..
86
+ - name : Run
87
+ run : |
88
+ cd Tutorials/libamrexpr
89
+ mkdir build
90
+ cd build
91
+ cmake .. -DCMAKE_PREFIX_PATH=../../installdir -DCMAKE_CXX_COMPILER=g++
92
+ make -j4 VEBOSE=ON
93
+ ./parser_test
Original file line number Diff line number Diff line change 61
61
cd Tutorials/libamrexpr
62
62
make -j4 CXX=icpx
63
63
./a.out
64
+
65
+ Tests-cmake :
66
+ name : Intel Tests & CMake
67
+ runs-on : ubuntu-latest
68
+ steps :
69
+ - uses : actions/checkout@v4
70
+ - name : Dependencies
71
+ run : |
72
+ .github/workflows/dependencies/dependencies_dpcpp.sh
73
+ - name : Tests
74
+ run : |
75
+ mkdir build
76
+ cd build
77
+ cmake .. -DCMAKE_CXX_COMPILER=icpx -DENABLE_TESTS=ON
78
+ make -j4 VERBOSE=ON
79
+ ctest --output-on-failure
80
+
81
+ Tutorials-gmake :
82
+ name : Intel libamrexpr & GNU Make
83
+ runs-on : ubuntu-latest
84
+ steps :
85
+ - uses : actions/checkout@v4
86
+ - name : Dependencies
87
+ run : |
88
+ .github/workflows/dependencies/dependencies_dpcpp.sh
89
+ - name : Build libamrexpr
90
+ run : |
91
+ mkdir build
92
+ cd build
93
+ cmake .. -DCMAKE_CXX_COMPILER=icpx -DCMAKE_INSTALL_PREFIX=../installdir
94
+ make -j4 VERBOSE=ON
95
+ cd ..
96
+ - name : Run
97
+ run : |
98
+ cd Tutorials/libamrexpr
99
+ mkdir build
100
+ cd build
101
+ cmake .. -DCMAKE_PREFIX_PATH=../../installdir -DCMAKE_CXX_COMPILER=icpx
102
+ make -j4 VEBOSE=ON
103
+ ./parser_test
You can’t perform that action at this time.
0 commit comments