File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,11 @@ name: Test Gibbon examples
22on : [ push, pull_request ]
33jobs :
44 linux :
5- name : test-gibbon
5+ name : test-gibbon (${{ matrix.cc }})
66 runs-on : ubuntu-22.04
7+ strategy :
8+ matrix :
9+ cc : [gcc, clang]
710 steps :
811 - name : dependencies
912 run : |
1215 sudo apt-get update
1316 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
1417 sudo apt update
15- sudo apt-get install -y libgc-dev libgmp-dev uthash-dev gcc-11 racket
18+ sudo apt-get install -y libgc-dev libgmp-dev uthash-dev gcc-11 clang racket
1619 sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-11 /usr/bin/gcc
1720 - name : ghc and cabal
1821 env :
7073 run : |
7174 export GIBBONDIR=`pwd`
7275 cd gibbon-compiler/
73- cabal v2-exec -w $HC test-gibbon-examples -- -v2
76+ cabal v2-exec -w $HC test-gibbon-examples -- -v2 --cc=${{ matrix.cc }}
You can’t perform that action at this time.
0 commit comments