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

Use container precice/precice:develop in all Actions #159

Merged
merged 26 commits into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2a32050
[WIP] Make bindings compatible with precice:develop
IshaanDesai Jan 10, 2023
7c14ea4
Updating solverdummy and checkpoint related API functions
IshaanDesai Jan 10, 2023
a8a5dc3
Removing unnecessary semicolons
IshaanDesai Jan 10, 2023
2e7e1f0
Add correct arguments to functions in SolverInterface.cpp
IshaanDesai Jan 10, 2023
e7f4e3e
Add size as input argument to mesh connectivity API functions for tes…
IshaanDesai Jan 10, 2023
f9bc8f1
Remove incorrect bracket from deleted namespace
IshaanDesai Jan 10, 2023
885085b
[WIP] Using same names for input arguments of API functions
IshaanDesai Jan 10, 2023
ed20d02
correct return type for setMeshEdge in SolverInterface.cpp
IshaanDesai Jan 11, 2023
e25f8e9
void function setMeshEdge should not return anything
IshaanDesai Jan 11, 2023
8c52300
Adapted compatibility-precice-dev branch (#162)
Timo-Schrader Jan 11, 2023
11a8bdc
Use precice-setup-action
IshaanDesai Jan 30, 2023
4a7eccb
Modify solverdummy Action
IshaanDesai Jan 30, 2023
db1edf4
Use precice-setup action appropriately in steps
IshaanDesai Jan 30, 2023
d754e17
Change apt-get commands to use sudo in build and test workflows
IshaanDesai Feb 1, 2023
233d0e5
Change rm -rf commands to use sudo in build and test workflows
IshaanDesai Feb 1, 2023
ab7a960
Remove get_mesh_vertices and get_mesh_vertex_ids_from_positions
IshaanDesai Feb 6, 2023
d0e76af
Use precice-setup-action in Spack workflow
IshaanDesai Feb 6, 2023
f7a04ff
Merge branch 'develop' into compatibility-precice-dev
IshaanDesai Feb 20, 2023
777093a
Merge branch 'develop' into compatibility-precice-dev
IshaanDesai Mar 6, 2023
4602e01
Use main branch of setup-precice-action
IshaanDesai Mar 6, 2023
f769c83
Use container precice/precice:develop
IshaanDesai Mar 9, 2023
7c53dea
Remove sudo from build-and-test.yml
IshaanDesai Mar 9, 2023
01a2b80
Use C++17 in setup.py
IshaanDesai Mar 9, 2023
96434f5
Install sudo in workflows and use it to remove lock file
IshaanDesai Mar 9, 2023
ad9708a
Use user: root in setup_test workflow
IshaanDesai Mar 9, 2023
d086f8b
Remove sudo from the command to remove lock files
IshaanDesai Mar 9, 2023
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
27 changes: 9 additions & 18 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:
name: Run setup.py phases needed by spack
needs: [setup_test]
runs-on: ubuntu-latest
container:
image: benjaminrodenberg/precice:develop
options: --user root
container: precice/precice:develop
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -36,9 +34,7 @@ jobs:
setup_install:
name: Run setup install
runs-on: ubuntu-latest
container:
image: benjaminrodenberg/precice:develop
options: --user root
container: precice/precice:develop
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -61,9 +57,7 @@ jobs:
name: Run setup install --single-version-externally-managed (for spack)
needs: [setup_install]
runs-on: ubuntu-latest
container:
image: benjaminrodenberg/precice:develop
options: --user root
container: precice/precice:develop
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -88,10 +82,11 @@ jobs:
uses: actions/checkout@v2
- uses: actions/setup-python@v1
- name: Install OpenMPI, CMake, Boost library, Eigen and pkg-config
user: root
run: |
sudo apt-get -yy update
sudo apt-get install -y libopenmpi-dev cmake libboost-all-dev libeigen3-dev pkg-config
sudo rm -rf /var/lib/apt/lists/*
apt-get -yy update
apt-get install -y libopenmpi-dev cmake libboost-all-dev libeigen3-dev pkg-config
rm -rf /var/lib/apt/lists/*
- uses: BSFishy/pip-action@v1
with:
packages: toml
Expand All @@ -118,9 +113,7 @@ jobs:
name: Run pip install
needs: [setup_test]
runs-on: ubuntu-latest
container:
image: benjaminrodenberg/precice:develop
options: --user root
container: precice/precice:develop
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -139,9 +132,7 @@ jobs:
name: Run solverdummy
needs: [setup_install, setup_test]
runs-on: ubuntu-latest
container:
image: benjaminrodenberg/precice:develop
options: --user root
container: precice/precice:develop
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/run-solverdummy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ jobs:
run_solverdummies:
name: Run solverdummies
runs-on: ubuntu-latest
container:
image: benjaminrodenberg/precice:develop
options: --user root
container: precice/precice:develop
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
def get_extensions(is_test):
compile_args = []
link_args = []
compile_args.append("-std=c++11")
compile_args.append("-std=c++17")
compile_args.append("-I{}".format(numpy.get_include()))

bindings_sources = [os.path.join(PYTHON_BINDINGS_PATH, "cyprecice",
Expand Down