Skip to content

Commit

Permalink
Docker CI: Make bind mount explicity writable
Browse files Browse the repository at this point in the history
  • Loading branch information
kyllingstad committed Nov 8, 2023
1 parent f95626e commit 4d9f7db
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Build Docker image
run: docker build -t osp-builder /tmp/osp-builder-docker/
- name: Build FMI Library
run: docker run --rm --env GITHUB_REF="$GITHUB_REF" -v $(pwd):/mnt/source osp-builder
run: docker run --rm --env GITHUB_REF="$GITHUB_REF" -v $(pwd):/mnt/source:rw osp-builder

conan-on-windows:
name: Conan
Expand Down
3 changes: 0 additions & 3 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ def source(self):
git.clone(url="https://github.com/modelon-community/fmi-library.git", target="src", args=["--branch=2.3"])
patch(self, base_path="src", patch_file="build-static-c99snprintf.patch")

def layout(self):
cmake_layout(self)

def generate(self):
tc = CMakeToolchain(self)
tc.cache_variables["FMILIB_BUILD_STATIC_LIB"] = not self.options.shared
Expand Down
3 changes: 0 additions & 3 deletions test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()

def layout(self):
cmake_layout(self)

def test(self):
if can_run(self):
Expand Down

0 comments on commit 4d9f7db

Please sign in to comment.