Skip to content

Commit

Permalink
Merge pull request #153 from fwsGonzo/docker_action
Browse files Browse the repository at this point in the history
Add docker CI action
  • Loading branch information
fwsGonzo committed Jun 14, 2024
2 parents 2160806 + a5d6922 commit f2e8c61
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Docker Image CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install dependencies
run: |
sudo apt update
sudo apt install -y g++ clang
- name: Build docker image
run: docker build . -t libriscv

- name: Test docker built CLI with TCC
run: docker run --rm libriscv fib

- name: Test docker built CLI with full Binary Translation
run: docker run --entrypoint ./rvlinux-fast --rm libriscv fib

0 comments on commit f2e8c61

Please sign in to comment.