Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed Jamil committed Sep 17, 2020
2 parents a3f3732 + 09b996a commit 8f96e49
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Expand Up @@ -24,6 +24,18 @@ jobs:
fetch-depth: 0
ref: "gh-pages"

- name: Install pre-requisite libraries
run: $(sudo -l sudo) su -c 'apt-get install -y subversion gcc git numactl libgsl-dev libpapi-dev python libhwloc-dev libudev-dev make libopenmpi-dev libhdf5-openmpi-dev libfftw3-dev libssl-dev liblapack-dev g++ curl gfortran patch pkg-config libhdf5-dev libjpeg-turbo?-dev'

- name: Restore cached files
uses: actions/cache@v2.1.1
with:
path: ./
key: ${{ runner.os }}-build-${{ env.cache-name }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
# Runs a set of commands using the runners shell
- name: Run build and test script
run: |
Expand All @@ -36,11 +48,9 @@ jobs:
run: |
git config --local user.email "msj2340@gmail.com"
git config --local user.name "mojamil"
git commit -m "updated html file"
git commit -m "updated html file" || true
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: "gh-pages"


4 changes: 2 additions & 2 deletions build-and-test.sh
Expand Up @@ -33,7 +33,7 @@ if [ -r $WORKSPACE/configs/sim ]; then
fi
time $WORKSPACE/cactusjenkins/build-cactus manifest/einsteintoolkit.th
sed -i '2a export WORKSPACE=$PWD ' cactusjenkins/test-cactus
sed -i '2a export JOB_NAME="TestJob00" ' cactusjenkins/test-cactus
sed -i '2a export JOB_NAME="TestJob01" ' cactusjenkins/test-cactus
time $WORKSPACE/cactusjenkins/test-cactus all
python3 $WORKSPACE/logpage.py
python3 $WORKSPACE/mail.py
Expand All @@ -42,4 +42,4 @@ python3 $WORKSPACE/mail.py
#time $WORKSPACE/cactusjenkins/build-cactus-doc

#cd $WORKSPACE/repos/carpet
#doxygen
#doxygen

0 comments on commit 8f96e49

Please sign in to comment.