Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pash run #48

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,21 @@ jobs:
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y --no-install-recommends \
curl wget unzip
curl wget unzip git \
autoconf automake libtool build-essential gawk pkg-config \
python3-pip
pip3 install scikit-learn kaggle
wget https://raw.githubusercontent.com/binpash/pash/main/scripts/up.sh
sh up.sh
export PASH_TOP="$PWD/pash/"

- name: Set execute permissions for main.sh
run: chmod +x main.sh

- name: Run Benchmark for ${{ matrix.benchmark }}
run: ./main.sh ${{ matrix.benchmark }} --small
run: |
export PASH_TOP="$PWD/pash/"
"$PASH_TOP/pa.sh" -c "./main.sh ${{ matrix.benchmark }} --small"

- name: Upload .out and .err files
uses: actions/upload-artifact@v4
Expand Down
31 changes: 29 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,43 @@ RUN apt update && apt install -y --no-install-recommends \
curl \
wget \
unzip \
git \
samtools \
minimap2 \
bcftools \
python3-pip \
vim \
ffmpeg unrtf imagemagick libarchive-tools libncurses5-dev libncursesw5-dev zstd liblzma-dev libbz2-dev zip unzip nodejs tcpdump \
git
ffmpeg \
unrtf \
imagemagick \
libarchive-tools \
libncurses5-dev \
libncursesw5-dev \
zstd \
liblzma-dev \
libbz2-dev \
zip \
unzip \
nodejs \
tcpdump \
autoconf \
automake \
libtool \
build-essential \
gawk \
pkg-config

RUN pip3 install --break-system-packages \
scikit-learn \
kaggle

# Install PaSh
RUN wget https://raw.githubusercontent.com/binpash/pash/main/scripts/up.sh && \
sh up.sh && \
export PASH_TOP="$PWD/pash/"

# Test PaSh installation
RUN "$PWD/pash/pa.sh" -c "echo hi"

# Default command
CMD ["bash"]
Loading