-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removed all C code from repo. * Moved sources up one level * Moved tests up one level * Renamed all occurrences of CSECORE_ to LIBCOSIM_ * Renamed namespace from cse to cosim * Renamed csexsdembedder to osp-xsd-embedder * Renamed cse_config_parser to osp_config_parser * Renamed cse folder to cosim * Clang format * Typo * Rename cse_config_parser class to osp_config_parser * Renamed cse:: to cosim:: * Embedder to return osp_config_xsd * Rename CSE_ to COSIM_ * Temp folders to be prefixed with libcosim_ * Renaming cse to libcosim * Renamed csecorecpp to cosim * Namespace ending * Rename cse-core in Jenkinsfile * Rename Conan package to libcosim * Rename doxygen project name * Fixup cleanup script * Rename CSE -> libcosim * Do not record fingerprints. Not uesed anyway * Use ${publicHeadersFull} to install public headers. * Use ${publicHeaders} to install public headers. * Fix install public headers. * Adding build with GitHub Actions * Adding build with GitHub Actions * 'auto' seems to not work with GitHub Actions * Temporarily add build and upload of libevent for previously non-built config. * Temporarily add build and upload for previously non-built packages. * Packages uploaded, revert to not building any dependencies. * GitHub Windows runners seems to struggle with long paths. * Debugging
- Loading branch information
Halvor Platou
authored
May 12, 2020
1 parent
0773ed0
commit 8232cac
Showing
217 changed files
with
2,196 additions
and
6,410 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
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 |
---|---|---|
@@ -0,0 +1,80 @@ | ||
name: libcosim CI Conan | ||
|
||
# This workflow is triggered on pushes to the repository. | ||
on: [push] | ||
|
||
env: | ||
CONAN_LOGIN_USERNAME_OSP: ${{ secrets.osp_conan_usr }} | ||
CONAN_PASSWORD_OSP: ${{ secrets.osp_conan_pwd }} | ||
CONAN_REVISIONS_ENABLED: 1 | ||
CONAN_NON_INTERACTIVE: True | ||
|
||
jobs: | ||
conan-on-linux: | ||
name: Conan | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-18.04] | ||
build_type: [Debug, Release] | ||
compiler_version: [7] | ||
compiler_libcxx: [libstdc++11] | ||
option_fmuproxy: ['fmuproxy=True', 'fmuproxy=False'] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install prerequisites | ||
run: | | ||
sudo pip3 install --upgrade setuptools pip | ||
sudo pip3 install conan | ||
sudo apt-get install -y doxygen | ||
- name: Configure Conan | ||
run: conan remote add osp https://osp-conan.azurewebsites.net/artifactory/api/conan/public --force | ||
- name: Conan create | ||
run: | | ||
BRANCH=${GITHUB_REF#refs/heads/} | ||
SHORT_BRANCH=${BRANCH:0:50} | ||
CHANNEL=${SHORT_BRANCH//\//_} | ||
conan create -s build_type=${{ matrix.build_type }} -s compiler.version=${{ matrix.compiler_version }} -s compiler.libcxx=${{ matrix.compiler_libcxx }} -o ${{ matrix.option_fmuproxy }} . osp/${CHANNEL} | ||
- name: Conan upload | ||
run: | | ||
conan upload --all -c -r osp 'libcosim*' | ||
conan-on-windows: | ||
name: Conan | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
CONAN_USER_HOME_SHORT: C:\c | ||
CONAN_USE_ALWAYS_SHORT_PATHS: 1 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows-2016] | ||
build_type: [Debug, Release] | ||
compiler_version: [15] | ||
option_fmuproxy: ['fmuproxy=True', 'fmuproxy=False'] | ||
|
||
exclude: | ||
- os: windows-2016 | ||
build_type: Debug | ||
option_fmuproxy: 'fmuproxy=True' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install prerequisites | ||
run: | | ||
pip3 install --upgrade setuptools pip | ||
pip3 install conan | ||
choco install doxygen.install | ||
- name: Configure Conan | ||
run: conan remote add osp https://osp-conan.azurewebsites.net/artifactory/api/conan/public --force | ||
- name: Conan create | ||
shell: bash | ||
run: | | ||
BRANCH=${GITHUB_REF#refs/heads/} | ||
SHORT_BRANCH=${BRANCH:0:50} | ||
CHANNEL=${SHORT_BRANCH//\//_} | ||
conan create -s build_type=${{ matrix.build_type }} -s compiler.version=${{ matrix.compiler_version }} -o ${{ matrix.option_fmuproxy }} . osp/${CHANNEL} | ||
- name: Conan upload | ||
run: conan upload --all -c -r osp 'libcosim*' |
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
Oops, something went wrong.