File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ concurrency:
1111 cancel-in-progress : true
1212
1313jobs :
14- Tests :
15- name : Clang CPU Tests
14+ Tests-gmake :
15+ name : Clang Tests & GNU Make
1616 runs-on : ubuntu-latest
1717 steps :
1818 - uses : actions/checkout@v4
3333 make -j4 USE_CPU=TRUE COMP=clang
3434 ./main.llvm.ex
3535
36- Tutorials :
36+ Tutorials-gmake :
3737 name : Clang libamrexpr & GNU Make
3838 runs-on : ubuntu-latest
3939 steps :
5151 cd Tutorials/libamrexpr
5252 make -j4 CXX=clang++
5353 ./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
1111
1212sudo apt-get install -y --no-install-recommends \
1313 build-essential \
14+ cmake \
1415 clang
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ for itry in {1..5}
2525do
2626 sudo apt-get install -y --no-install-recommends \
2727 build-essential \
28+ cmake \
2829 intel-oneapi-compiler-dpcpp-cpp \
2930 && { sudo apt-get clean; status=0; break ; } \
3031 || { 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
3131sudo apt-get update
3232sudo apt-get install -y --no-install-recommends \
3333 build-essential \
34+ cmake \
3435 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
2222sudo apt-get update
2323VERSION_DASHED=$( apt-cache search cuda-compiler* | tail -n1 | cut -d' ' -f1 | sed ' s/cuda-compiler-//' )
2424sudo apt-get install -y \
25+ cmake \
2526 cuda-command-line-tools-$VERSION_DASHED \
2627 cuda-compiler-$VERSION_DASHED \
2728 cuda-minimal-build-$VERSION_DASHED
Original file line number Diff line number Diff line change 5151 cd Tutorials/libamrexpr
5252 make -j4 CXX=g++
5353 ./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 6161 cd Tutorials/libamrexpr
6262 make -j4 CXX=icpx
6363 ./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