Skip to content

Commit

Permalink
42
Browse files Browse the repository at this point in the history
  • Loading branch information
mkst committed Sep 15, 2023
1 parent c449bd6 commit bf0c6d8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ jobs:
- name: Create matrix of images to generate
id: create-matrix
run: |
# echo "matrix=$(python3 matrix.py --dockerfiles changed_files.txt)" >> $GITHUB_OUTPUT
echo "matrix=$(python3 matrix.py --platforms saturn)" >> $GITHUB_OUTPUT
# e.g.
# echo "matrix=$(python3 matrix.py --platforms saturn)" >> $GITHUB_OUTPUT
echo "matrix=$(python3 matrix.py --dockerfiles changed_files.txt)" >> $GITHUB_OUTPUT
run_matrix:
name: Run Matrix
Expand Down
5 changes: 5 additions & 0 deletions platforms/saturn/cygnus-2.7-96Q3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ RUN cp -r saturn-compilers-main/cygnus-2.7-96Q3-bin/* /compilers/saturn/cygnus-2

RUN chown -R root:root /compilers/saturn/cygnus-2.7-96Q3/
RUN chmod +x /compilers/saturn/cygnus-2.7-96Q3/*


FROM scratch as release

COPY --from=base /compilers /compilers
5 changes: 5 additions & 0 deletions templates/saturn/cygnus.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ RUN cp -r {{ package_dir }}/* /compilers/{{ platform }}/{{ id }}

RUN chown -R root:root /compilers/{{ platform }}/{{ id }}/
RUN chmod +x /compilers/{{ platform }}/{{ id }}/*


FROM scratch as release

COPY --from=base /compilers /compilers

0 comments on commit bf0c6d8

Please sign in to comment.