Skip to content

Commit

Permalink
Fix build script permissions, update build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
kyllingstad committed Nov 28, 2023
1 parent 963c920 commit cb57900
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-conan-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
strategy:
fail-fast: false
matrix:
conan: ["1.0", "2.0"]
conan: ["2.0"]
profile: [gcc]
compiler_version: [8, 9, 10, 11, 12]
compiler_version: [8, 9, 10, 11, 12, 13]
build_type: [Debug, Release]
version: ["6.9.210323"]
channel: ["${{ (github.head_ref || github.ref_name) == 'master' && 'stable' || 'testing' }}"]
Expand Down
3 changes: 2 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def export_sources(self):
copy(self, '*', join(self.recipe_folder, "patches"), join(self.export_sources_folder, "patches"))
copy(self, '*', join(self.recipe_folder, "setup"), join(self.export_sources_folder, "setup"))
copy(self, self._build_script, self.recipe_folder, self.export_sources_folder)
os.chmod(join(self.export_sources_folder, self._build_script), 0o755)
copy(self, "OpenSpliceHelpers.cmake", self.recipe_folder, self.export_sources_folder)

def config_options(self):
Expand Down Expand Up @@ -170,6 +169,8 @@ def build(self):
source = self.source_folder
if self.settings.os == "Windows":
source = str(source).replace('\\', '/')
else:
os.chmod(join(self.export_sources_folder, self._build_script), 0o755)
msvc = "msvc" if is_msvc(self) else ""

self.run(f"./{self._build_script} {source} {self._ospl_platform}-{config} {jobs} {msvc}", cwd=self.export_sources_folder)
Expand Down

0 comments on commit cb57900

Please sign in to comment.