File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828
2929 steps :
3030
31- - name : Install SSH Key
32- uses : shimataro/ssh-key-action@v2.7.0
33- with :
34- key : ${{ secrets.SSH_PRIVATE_KEY }}
35- known_hosts : ${{ secrets.KNOWN_HOSTS }}
36-
3731 - name : Conda info
3832 run : conda info
3933
6054 - name : Get tags
6155 run : git fetch --unshallow origin +refs/tags/*:refs/tags/*
6256
63- - name : Restore Caches
64- shell : bash -l {0}
65- run : .github/workflows/restore_caches.sh
66-
6757 - name : Check space3
6858 run : df -h
6959
10696 - name : make test
10797 shell : bash -l {0}
10898 run : conda activate shapeworks && source ./devenv.sh ./build/bin && cd build && ctest -VV
109-
110- - name : Store ccache
111- shell : bash -l {0}
112- run : .github/workflows/store_ccache.sh
113-
11499
Original file line number Diff line number Diff line change 2929
3030 steps :
3131
32- - name : Install SSH Key
33- uses : shimataro/ssh-key-action@v2.7.0
34- with :
35- key : ${{ secrets.SSH_PRIVATE_KEY }}
36- known_hosts : ${{ secrets.KNOWN_HOSTS }}
37-
3832 - name : Conda info
3933 run : conda info
4034
6155 - name : Check space3
6256 run : df -h
6357
64- - name : Restore Caches
65- shell : bash -l {0}
66- run : .github/workflows/restore_caches.sh
67-
6858 - name : Conda Installs
6959 shell : bash -l {0}
7060 run : .github/workflows/gha_conda.sh
@@ -115,10 +105,6 @@ jobs:
115105 shell : bash -l {0}
116106 run : conda activate shapeworks && source ./devenv.sh ./build/bin && cd build && ctest -VV
117107
118- - name : Copy artifact
119- shell : bash -l {0}
120- run : cd /__w/ShapeWorks/ShapeWorks/artifacts && ${GITHUB_WORKSPACE}/.github/workflows/copy_artifact.sh artifact-${{github.sha}}-linux *
121-
122108 - uses : actions/upload-artifact@v2
123109 with :
124110 name : artifact-${{github.sha}}-linux
@@ -135,9 +121,4 @@ jobs:
135121 title : " Development Build for Linux"
136122 files : |
137123 ${{runner.workspace}}/ShapeWorks/artifacts/*.tar.gz
138-
139- - name : Store ccache
140- shell : bash -l {0}
141- run : .github/workflows/store_ccache.sh
142-
143124
Original file line number Diff line number Diff line change @@ -24,18 +24,15 @@ concurrency:
2424jobs :
2525 build :
2626
27- runs-on : macos-latest
27+ runs-on : macos-12
2828
2929 steps :
3030
31- - name : Install SSH Key
32- uses : shimataro/ssh-key-action@v2
33- with :
34- key : ${{ secrets.SSH_PRIVATE_KEY }}
35- known_hosts : ${{ secrets.KNOWN_HOSTS }}
36-
3731 - name : OS Setup
3832 run : |
33+ ls /usr/local
34+ uname -m
35+ echo $CONDA
3936 sudo chown -R $UID $CONDA
4037 conda init zsh
4138 source ~/.zshrc
5451 - name : Get tags
5552 run : git fetch --unshallow origin +refs/tags/*:refs/tags/*
5653
57- - name : Restore Caches
58- shell : bash -l {0}
59- run : .github/workflows/restore_caches.sh
60-
6154 - name : Conda Installs
6255 shell : bash -l {0}
6356 run : .github/workflows/gha_conda.sh
@@ -117,12 +110,3 @@ jobs:
117110 env :
118111 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
119112 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
120-
121- - name : Store ccache
122- shell : bash -l {0}
123- run : .github/workflows/store_ccache.sh
124-
125- - name : Copy artifact
126- shell : bash -l {0}
127- run : cd ${{runner.workspace}}/ShapeWorks && ${GITHUB_WORKSPACE}/.github/workflows/copy_artifact.sh artifact-${{github.sha}}-mac artifacts
128-
Original file line number Diff line number Diff line change 3939 - name : Init conda
4040 shell : bash -l {0}
4141 run : /c/Miniconda/condabin/conda.bat init --all
42-
42+
4343 # - name: link
4444 # shell: bash -l {0}
4545 # run: cd /usr/bin && ln -s /c/Miniconda/condabin/conda.bat conda
6565 # with:
6666 # miniconda-version: 'latest'
6767
68- - name : Install SSH Key
69- uses : shimataro/ssh-key-action@v2
70- with :
71- key : ${{ secrets.SSH_PRIVATE_KEY }}
72- known_hosts : ${{ secrets.KNOWN_HOSTS }}
73-
7468 - name : Checkout code
7569 uses : actions/checkout@v3
7670 with :
@@ -79,16 +73,16 @@ jobs:
7973 - name : Get tags
8074 run : git fetch --unshallow origin +refs/tags/*:refs/tags/*
8175
76+ - name : Download test data
77+ shell : bash -l {0}
78+ run : .github/workflows/download_test_data.sh
79+
8280 - name : Get NSIS
8381 working-directory : ${{runner.workspace}}
8482 run : |
85- curl -o nsis.zip http ://www.sci.utah.edu/~amorris/NSISPortable_3.04.zip
83+ curl -o nsis.zip https ://www.sci.utah.edu/~amorris/NSISPortable_3.04.zip
8684 Expand-Archive -LiteralPath nsis.zip -DestinationPath .
8785
88- - name : Restore Caches
89- shell : bash -l {0}
90- run : .github/workflows/restore_caches.sh
91-
9286 - name : Conda Installs
9387 shell : bash -l {0}
9488 run : .github/workflows/gha_conda.sh
@@ -174,8 +168,3 @@ jobs:
174168 title : " Development Build for Windows"
175169 files : |
176170 d:/a/ShapeWorks/ShapeWorks/artifacts/*.exe
177-
178- - name : Copy artifact
179- shell : bash -l {0}
180- run : cd /d/a/ShapeWorks/ShapeWorks/artifacts && ${GITHUB_WORKSPACE}/.github/workflows/copy_artifact.sh artifact-${{github.sha}}-windows *
181-
Original file line number Diff line number Diff line change @@ -13,11 +13,16 @@ BASE=`pwd`
1313# based on root folder
1414cd /
1515
16+ # if platform is windows, install wget
17+ if [ " $PLATFORM " == " windows" ]; then
18+ choco install wget --no-progress
19+ fi
1620
1721# Tiny test data downloads
1822for run in {1..5}; do
1923 if [ ! -f /tmp/tiny_test_cache.tar.gz ] ; then
20- scp runner@${CACHE_HOST} :github/tiny_test_cache.tar.gz /tmp || true
24+ cd /tmp
25+ wget https://www.sci.utah.edu/~shapeworks/doc-resources/zips/tiny_test_cache.tar.gz || true
2126 sleep 1
2227 fi
2328done
Original file line number Diff line number Diff line change 3131 fi
3232 ./build_dependencies.sh --build-type=$BUILD_TYPE --num-procs=$NPROCS --clean-after
3333 rm -rf $BUILD_DIR
34-
35- echo " Create and store cache"
36- cd /
37- compress_file ${FILE} " ${DEP_PATH} "
38- scp ${FILE} runner@${CACHE_HOST} :github
39- rm ${FILE}
4034fi
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ ${GITHUB_WORKSPACE}/Support/build_docs.sh $INSTALL_DIR
3434
3535git config --global user.name " ${GITHUB_ACTOR} "
3636git config --global user.email " ${GITHUB_ACTOR} @users.noreply.github.com"
37+ git config http.postBuffer 524288000
3738
3839remote_repo=" https://x-access-token:${GITHUB_TOKEN} @github.com/${GITHUB_REPOSITORY} .git"
3940
You can’t perform that action at this time.
0 commit comments