Skip to content

Commit

Permalink
Use .sh extension
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed May 23, 2024
1 parent 12d1004 commit 3194bb0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,32 +53,32 @@ jobs:
# aliens: requires no source
ALIENS_NAME="aliens-${{ matrix.target }}.tar.gz"
ALIENS_PATH=${PWD}/${ALIENS_NAME}
packaged ./aliens.bin 'pip install pygame' 'python -m pygame.examples.aliens'
tar czf $ALIENS_NAME ./aliens.bin
packaged ./aliens.sh 'pip install pygame' 'python -m pygame.examples.aliens'
tar czf $ALIENS_NAME ./aliens.sh
# textual: requires no source
TEXTUAL_NAME="textual-${{ matrix.target }}.tar.gz"
TEXTUAL_PATH=${PWD}/${TEXTUAL_NAME}
packaged ./textual.bin 'pip install textual' 'python -m textual'
tar czf $TEXTUAL_NAME ./textual.bin
packaged ./textual.sh 'pip install textual' 'python -m textual'
tar czf $TEXTUAL_NAME ./textual.sh
# IPython: requires no source
IPYTHON_NAME="ipython-${{ matrix.target }}.tar.gz"
IPYTHON_PATH=${PWD}/${IPYTHON_NAME}
packaged ./ipython.bin 'pip install ipython' 'ipython'
tar czf $IPYTHON_NAME ./ipython.bin
packaged ./ipython.sh 'pip install ipython' 'ipython'
tar czf $IPYTHON_NAME ./ipython.sh
# ./examples/mandelbrot
MANDELBROT_NAME="mandelbrot-${{ matrix.target }}.tar.gz"
MANDELBROT_PATH=${PWD}/${MANDELBROT_NAME}
packaged ./mandelbrot.bin 'pip install -r requirements.txt' 'python mandelbrot.py' ./example/mandelbrot
tar czf $MANDELBROT_NAME ./mandelbrot.bin
packaged ./mandelbrot.sh 'pip install -r requirements.txt' 'python mandelbrot.py' ./example/mandelbrot
tar czf $MANDELBROT_NAME ./mandelbrot.sh
# ./examples/minesweeper
MINESWEEPER_NAME="minesweeper-${{ matrix.target }}.tar.gz"
MINESWEEPER_PATH=${PWD}/${MINESWEEPER_NAME}
packaged ./example/minesweeper
tar czf $MINESWEEPER_NAME ./minesweeper.bin
tar czf $MINESWEEPER_NAME ./minesweeper.sh
# Setup output paths for upload
echo Setting paths in output
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,32 +58,32 @@ jobs:
# aliens: requires no source
ALIENS_NAME="aliens-${{ matrix.target }}.tar.gz"
ALIENS_PATH=${PWD}/${ALIENS_NAME}
packaged ./aliens.bin 'pip install pygame' 'python -m pygame.examples.aliens'
tar czf $ALIENS_NAME ./aliens.bin
packaged ./aliens.sh 'pip install pygame' 'python -m pygame.examples.aliens'
tar czf $ALIENS_NAME ./aliens.sh
# textual: requires no source
TEXTUAL_NAME="textual-${{ matrix.target }}.tar.gz"
TEXTUAL_PATH=${PWD}/${TEXTUAL_NAME}
packaged ./textual.bin 'pip install textual' 'python -m textual'
tar czf $TEXTUAL_NAME ./textual.bin
packaged ./textual.sh 'pip install textual' 'python -m textual'
tar czf $TEXTUAL_NAME ./textual.sh
# IPython: requires no source
IPYTHON_NAME="ipython-${{ matrix.target }}.tar.gz"
IPYTHON_PATH=${PWD}/${IPYTHON_NAME}
packaged ./ipython.bin 'pip install ipython' 'ipython'
tar czf $IPYTHON_NAME ./ipython.bin
packaged ./ipython.sh 'pip install ipython' 'ipython'
tar czf $IPYTHON_NAME ./ipython.sh
# ./examples/mandelbrot
MANDELBROT_NAME="mandelbrot-${{ matrix.target }}.tar.gz"
MANDELBROT_PATH=${PWD}/${MANDELBROT_NAME}
packaged ./mandelbrot.bin 'pip install -r requirements.txt' 'python mandelbrot.py' ./example/mandelbrot
tar czf $MANDELBROT_NAME ./mandelbrot.bin
packaged ./mandelbrot.sh 'pip install -r requirements.txt' 'python mandelbrot.py' ./example/mandelbrot
tar czf $MANDELBROT_NAME ./mandelbrot.sh
# ./examples/minesweeper
MINESWEEPER_NAME="minesweeper-${{ matrix.target }}.tar.gz"
MINESWEEPER_PATH=${PWD}/${MINESWEEPER_NAME}
packaged ./example/minesweeper
tar czf $MINESWEEPER_NAME ./minesweeper.bin
tar czf $MINESWEEPER_NAME ./minesweeper.sh
# Setup output paths for upload
echo "ALIENS_NAME=${ALIENS_NAME}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 3194bb0

Please sign in to comment.