Skip to content

Commit

Permalink
Update CI to newest docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnbastiaan committed Feb 21, 2024
1 parent b8bae5c commit 20baf79
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 Google LLC
#
#
# SPDX-License-Identifier: Apache-2.0

name: CI
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -85,16 +85,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:
Expand All @@ -107,8 +107,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 }}-20240221

steps:
- name: Checkout
Expand All @@ -124,8 +133,8 @@ jobs:
with:
path: |
~/.cabal/store
key: packages-cachebust-1-${{ hashFiles('cabal.project.freeze', 'cabal.project') }}
restore-keys: packages-cachebust-1-
key: packages-cachebust-2-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze', 'cabal.project') }}
restore-keys: packages-cachebust-2-${{ matrix.ghc }}

- name: Install build deps
run: |
Expand Down

0 comments on commit 20baf79

Please sign in to comment.