Skip to content

Commit

Permalink
fixup-dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
keith-packard committed Nov 21, 2024
1 parent 19dba99 commit 8b6515d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,3 @@ RUN apt-get update && \
icnsutils \
black && \
pip3 install --break-system-packages pynsist

RUN mkdir snek
COPY ./ snek/

WORKDIR ./snek
12 changes: 7 additions & 5 deletions .github/workflows/snek.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,17 @@ jobs:
docker load -i $IMAGE_FILE
docker images -a $IMAGE
- name: 'Create install destinationn'
- name: 'Create install destination'
run: |
mkdir `pwd`/artifacts
mkdir -p artifacts
- name: 'Build snek'
run: |
docker run --rm \
--mount type=bind,source=`pwd`/artifacts,destination=/artifacts \
snek \
docker run \
-v $(readlink -f snek):/snek \
-v $(readlink -f artifacts):/artifacts \
-w /snek \
$IMAGE \
make DESTDIR=/artifacts PREFIX=/opt/snek SNEK_OTHEROS=1 SNEK_RISCV_TEST=1 black check install install-otheros
- name: 'Upload results'
Expand Down

0 comments on commit 8b6515d

Please sign in to comment.