Skip to content

Commit

Permalink
ci: Test pip failure
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Sep 7, 2024
1 parent 3c3de6c commit 31fb8f1
Showing 1 changed file with 37 additions and 28 deletions.
65 changes: 37 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,34 @@ jobs:
# Build Docker Container #
##########################

build-docker:
name: Deploy Docker image
runs-on: ubuntu-22.04
if: >
github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
docker-images: false
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: GHCR Log-in
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max`
file: util/container/Dockerfile
push: true
tags: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
# build-docker:
# name: Deploy Docker image
# runs-on: ubuntu-22.04
# if: >
# github.event_name != 'pull_request' ||
# github.event.pull_request.head.repo.full_name != github.repository
# steps:
# - name: Free Disk Space (Ubuntu)
# uses: jlumbroso/free-disk-space@main
# with:
# docker-images: false
# - uses: actions/checkout@v4
# - uses: docker/setup-buildx-action@v3
# - name: GHCR Log-in
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# - name: Build and push
# uses: docker/build-push-action@v6
# with:
# context: .
# cache-from: type=gha
# cache-to: type=gha,mode=max`
# file: util/container/Dockerfile
# push: true
# tags: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}

########
# Docs #
Expand Down Expand Up @@ -94,6 +94,15 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Test Python in container
run: |
which python
which pip
which python3
which pip3
python3 --version
python3 -m pip --version
python3 -m pip install anytree
- name: Hash Verilator prerequisites
id: verilator-hash
uses: colluca/list-make-prerequisites@47dce852f65f327e7b5e440db21067b7c92fa07c
Expand Down

0 comments on commit 31fb8f1

Please sign in to comment.