diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2280b17..4d06ea1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ # SPDX-FileCopyrightText: 2022 Google LLC -# +# # SPDX-License-Identifier: Apache-2.0 name: CI @@ -54,7 +54,7 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} args: --target riscv32imc-unknown-none-elf --all-features - + rust-build-programs: name: Build Programs runs-on: ubuntu-22.04 @@ -81,16 +81,16 @@ jobs: with: command: build args: --release - + - name: Build debug binaries uses: actions-rs/cargo@v1 with: command: build - + - name: Archive Integration Test Binaries run: | cd clash-vexriscv-sim; sh bundle_test_binaries.sh - + - name: Upload Integration Test Binaries uses: actions/upload-artifact@v3 with: @@ -103,8 +103,17 @@ jobs: runs-on: ubuntu-22.04 needs: [rust-build-programs] + strategy: + fail-fast: false + matrix: + ghc: + - "9.0.2" + - "9.2.8" + - "9.4.8" + - "9.6.4" + container: - image: ghcr.io/clash-lang/clash-ci-9.0.2:2022-12-13 + image: ghcr.io/clash-lang/clash-ci-${{ matrix.ghc }}:2024-02-15 steps: - name: Checkout @@ -120,7 +129,7 @@ jobs: with: path: | ~/.cabal/store - key: packages-cachebust-1-${{ hashFiles('cabal.project.freeze', 'cabal.project') }} + key: packages-cachebust-1-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze', 'cabal.project') }} restore-keys: packages-cachebust-1- - name: Install build deps diff --git a/cabal.project b/cabal.project index 33d7755..3be6afe 100644 --- a/cabal.project +++ b/cabal.project @@ -25,25 +25,25 @@ index-state: 2023-09-28T08:48:26Z source-repository-package type: git location: https://github.com/clash-lang/clash-compiler.git - tag: 149885cef097ecfdb910797f73f0c1f54fc5b191 + tag: b96bf079061b9a534b39c9ecb751195be05c657c subdir: clash-prelude source-repository-package type: git location: https://github.com/clash-lang/clash-compiler.git - tag: 149885cef097ecfdb910797f73f0c1f54fc5b191 + tag: b96bf079061b9a534b39c9ecb751195be05c657c subdir: clash-ghc source-repository-package type: git location: https://github.com/clash-lang/clash-compiler.git - tag: 149885cef097ecfdb910797f73f0c1f54fc5b191 + tag: b96bf079061b9a534b39c9ecb751195be05c657c subdir: clash-lib source-repository-package type: git location: https://github.com/clash-lang/clash-compiler.git - tag: 149885cef097ecfdb910797f73f0c1f54fc5b191 + tag: b96bf079061b9a534b39c9ecb751195be05c657c subdir: clash-cores source-repository-package diff --git a/clash-vexriscv/clash-vexriscv.cabal b/clash-vexriscv/clash-vexriscv.cabal index 44d68ef..7ba0634 100644 --- a/clash-vexriscv/clash-vexriscv.cabal +++ b/clash-vexriscv/clash-vexriscv.cabal @@ -87,7 +87,7 @@ common common-options -fno-worker-wrapper -- clash-prelude will set suitable version bounds for the plugins build-depends: - base >= 4.14 && < 4.16, + base >= 4.14 && < 4.19, clash-prelude >= 1.6 && < 1.10, containers >= 0.6 && < 0.7, ghc-typelits-natnormalise, @@ -134,9 +134,9 @@ test-suite unittests base, clash-vexriscv, bytestring, - hedgehog >= 1.0 && < 1.1, + hedgehog >= 1.0 && < 1.5, tasty >= 1.4 && < 1.5, - tasty-hedgehog >= 1.2 && < 1.3, + tasty-hedgehog >= 1.2 && < 1.5, tasty-hunit, tasty-th, template-haskell,