Disable tests on most of platforms
authorMiodrag Milanovic <mmicko@gmail.com>
Thu, 10 Mar 2022 10:05:00 +0000 (11:05 +0100)
committerMiodrag Milanovic <mmicko@gmail.com>
Thu, 10 Mar 2022 10:05:00 +0000 (11:05 +0100)
.github/workflows/test-linux.yml
.github/workflows/test-macos.yml

index 9aa952e45707970d9f6393804ee653c851488ec3..d601aa9662b8c14bb70241ac711951e3237427ab 100644 (file)
@@ -120,6 +120,7 @@ jobs:
           make -j${{ env.procs }} CCXXSTD=${{ matrix.cpp_std }} CC=$CC CXX=$CC LD=$CC
 
       - name: Run tests
+        if: (matrix.cpp_std == 'c++11') && (matrix.compiler == 'gcc-11')
         shell: bash
         run: |
           make -j${{ env.procs }} test CXXSTD=${{ matrix.cpp_std }} CC=$CC CXX=$CC LD=$CC
index 09ab382bf7ddcf778807e345fc895e507deb0980..b14ce8633491752f1f08915fb89c9c6323141af0 100644 (file)
@@ -67,6 +67,7 @@ jobs:
           make -j${{ env.procs }} CXXSTD=${{ matrix.cpp_std }} CC=cc CXX=cc LD=cc
 
       - name: Run tests
+        if: matrix.cpp_std == 'c++11'
         shell: bash
         run: |
           make -j${{ env.procs }} test CXXSTD=${{ matrix.cpp_std }} CC=cc CXX=cc LD=cc
@@ -119,36 +120,8 @@ jobs:
       - name: Checkout Yosys
         uses: actions/checkout@v2
 
-      - name: Get iverilog
-        shell: bash
-        run: |
-          git clone https://github.com/steveicarus/iverilog.git
-
-      - name: Cache iverilog
-        id: cache-iverilog-homebrew
-        uses: actions/cache@v2
-        with:
-          path: .local/
-          key: ${{ matrix.os.id }}-homebrew-${{ hashFiles('iverilog/.git/refs/heads/master') }}
-
-      - name: Build iverilog
-        if: steps.cache-iverilog.outputs.cache-hit != 'true'
-        shell: bash
-        run: |
-          mkdir -p $GITHUB_WORKSPACE/.local
-          cd iverilog
-          autoconf
-          CC=gcc CXX=g++ ./configure --prefix=$GITHUB_WORKSPACE/.local
-          make -j${{ env.procs }}
-          make install
-
       - name: Build yosys
         shell: bash
         run: |
           make config-gcc
           make -j${{ env.procs }} CXXSTD=${{ matrix.cpp_std }} CC=$CC CXX=$CC LD=$CC
-
-      - name: Run tests
-        shell: bash
-        run: |
-          make -j${{ env.procs }} test CXXSTD=${{ matrix.cpp_std }} CC=$CC CXX=$CC LD=$CC