-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from PaulSt/normal_orientation
- Loading branch information
Showing
8 changed files
with
82 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,46 +42,57 @@ jobs: | |
if: ${{ failure() }} | ||
uses: mxschmitt/action-tmate@v3 | ||
|
||
macos: | ||
runs-on: macos-latest | ||
steps: | ||
- name: install pkgs | ||
run: | | ||
brew install openblas | ||
brew install lapack | ||
echo "LDFLAGS=-L/usr/local/opt/openblas/lib -L/usr/local/opt/lapack/lib" >> $GITHUB_ENV | ||
echo "CPPFLAGS=-I/usr/local/opt/openblas/include -I/usr/local/opt/lapack/include" >> $GITHUB_ENV | ||
echo "PKG_CONFIG_PATH=/usr/local/opt/openblas/lib/pkgconfig:/usr/local/opt/lapack/lib/pkgconfig" >> $GITHUB_ENV | ||
- name: install ngsolve | ||
run: | | ||
wget https://www.asc.tuwien.ac.at/~mhochsteger/ngsolve/macos/NGSolve_nightly.dmg | ||
hdiutil attach NGSolve_nightly.dmg | ||
cp -R /Volumes/NGSolve/* /Applications | ||
- name: set path | ||
run: | | ||
echo "PYTHONPATH=$PYTHONPATH:/Applications/Netgen.app/Contents/Resources/lib/python3.8/site-packages:." >> $GITHUB_ENV | ||
echo "NETGENDIR=/Applications/Netgen.app/Contents/MacOS" >> $GITHUB_ENV | ||
echo "DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$NETGENDIR" >> $GITHUB_ENV | ||
echo "DYLD_FRAMEWORK_PATH=$DYLD_FRAMEWORK_PATH:$NETGENDIR/../Frameworks" >> $GITHUB_ENV | ||
echo "$NETGENDIR" >> $GITHUB_PATH | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'True' | ||
path: 'NGSTrefftz' | ||
- name: cmake NGSTrefftz | ||
run: cmake -B $GITHUB_WORKSPACE/NGSTrefftz/make -S $GITHUB_WORKSPACE/NGSTrefftz/src/ | ||
- name: compile NGSTrefftz | ||
run: make -C $GITHUB_WORKSPACE/NGSTrefftz/make | ||
#- name: test NGSTrefftz | ||
#run: env CTEST_OUTPUT_ON_FAILURE=1 make -C $GITHUB_WORKSPACE/NGSTrefftz/make test | ||
#- name: install NGSTrefftz | ||
#run: sudo make -C $GITHUB_WORKSPACE/NGSTrefftz/make install | ||
### missing externalprojects...? | ||
#macos: | ||
#runs-on: macos-latest | ||
#steps: | ||
#- name: install pkgs | ||
#run: | | ||
#brew install [email protected] | ||
#brew install openblas | ||
#brew install lapack | ||
#brew install zlib-ng | ||
#brew install zlib bzip2 | ||
#echo "LDFLAGS=-L/usr/local/opt/openblas/lib -L/usr/local/opt/lapack/lib" >> $GITHUB_ENV | ||
#echo "CPPFLAGS=-I/usr/local/opt/openblas/include -I/usr/local/opt/lapack/include" >> $GITHUB_ENV | ||
#echo "PKG_CONFIG_PATH=/usr/local/opt/openblas/lib/pkgconfig:/usr/local/opt/lapack/lib/pkgconfig" >> $GITHUB_ENV | ||
#- name: install ngsolve | ||
#run: | | ||
#wget https://www.asc.tuwien.ac.at/~mhochsteger/ngsolve/macos/NGSolve_nightly.dmg | ||
#hdiutil attach NGSolve_nightly.dmg | ||
#cp -R /Volumes/NGSolve/* /Applications | ||
#- name: set path | ||
#run: | | ||
#echo "PYTHONPATH=${{ env.PYTHONPATH }}:/Applications/Netgen.app/Contents/Resources/lib/python3.8/site-packages:." >> $GITHUB_ENV | ||
#echo "NETGENDIR=/Applications/Netgen.app/Contents/MacOS" >> $GITHUB_ENV | ||
#- name: set path II | ||
#run: | | ||
#echo "DYLD_LIBRARY_PATH=${{ env.DYLD_LIBRARY_PATH }}:${{ env.NETGENDIR }}" >> $GITHUB_ENV | ||
#echo "DYLD_FRAMEWORK_PATH=${{ env.DYLD_FRAMEWORK_PATH }}:${{ env.NETGENDIR }}/../Frameworks" >> $GITHUB_ENV | ||
#echo "${{ env.NETGENDIR }}" >> $GITHUB_PATH | ||
##- uses: actions/setup-python@v3 | ||
##with: | ||
##python-version: '3.8' | ||
##- name: ngsolve found? | ||
##run: python3 -c "import ngsolve" | ||
#- uses: actions/checkout@v2 | ||
#with: | ||
#submodules: 'True' | ||
#path: 'NGSTrefftz' | ||
#- name: cmake NGSTrefftz | ||
#run: cmake -B $GITHUB_WORKSPACE/NGSTrefftz/make -S $GITHUB_WORKSPACE/NGSTrefftz/src/ | ||
#- name: compile NGSTrefftz | ||
#run: make -C $GITHUB_WORKSPACE/NGSTrefftz/make | ||
##- name: test NGSTrefftz | ||
##run: env CTEST_OUTPUT_ON_FAILURE=1 make -C $GITHUB_WORKSPACE/NGSTrefftz/make test | ||
##- name: install NGSTrefftz | ||
##run: sudo make -C $GITHUB_WORKSPACE/NGSTrefftz/make install | ||
#- name: Debugging with tmate | ||
#if: ${{ failure() }} | ||
#uses: mxschmitt/action-tmate@v3 | ||
|
||
pypi-test: | ||
needs: [ubuntu,macos] | ||
needs: [ubuntu] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: install pkgs | ||
|
@@ -129,7 +140,7 @@ jobs: | |
password: ${{ secrets.PYPI_API_TOKEN }} | ||
|
||
docker: | ||
needs: [ubuntu,macos] | ||
needs: [ubuntu] | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'release' && github.event.action == 'created' | ||
steps: | ||
|
@@ -164,7 +175,7 @@ jobs: | |
#labels: ${{ steps.meta.outputs.labels }} | ||
|
||
docs: | ||
needs: [ubuntu,macos] | ||
needs: [ubuntu] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
|
||
namespace ngfem | ||
{ | ||
|
||
template <int D> class PlaneWaveElement : public ScalarMappedElement<D> | ||
{ | ||
private: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters