Check if cell is CELL_2CA_POOLS_COMP_TYPE #182
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 workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
push: | |
branches: [ master, development, experimental, osb*, test* ] | |
pull_request: | |
branches: [ master, development, experimental, osb*, test* ] | |
jobs: | |
build_and_test: | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ '8', '11', '16', '17', '19', '21' ] | |
runs-on: [ubuntu-latest, macos-12, windows-2019] # Note macos-12, not latest/14, due to hdf5 install issue | |
exclude: | |
- runs-on: macos-latest | |
java: "8" | |
- runs-on: macos-latest | |
java: "16" | |
name: Test on Java ${{ matrix.Java }} on ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.Java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.Java }} | |
distribution: 'temurin' | |
- name: Install and test (non Win) | |
env: | |
main_repo_branch: ${GITHUB_REF_NAME} | |
if: ${{ matrix.runs-on != 'windows-2019' }} | |
run: | | |
export main_repo_branch=${{env.main_repo_branch}} | |
if [[ ${main_repo_branch} != "master" && ${main_repo_branch} != "development" && ${main_repo_branch} != "experimental" && ${main_repo_branch} != *"osb"* ]]; then main_repo_branch=development ; fi | |
echo Using branch $main_repo_branch | |
git clone https://github.com/NeuroML/org.neuroml.model.injectingplugin.git | |
cd org.neuroml.model.injectingplugin | |
git checkout $main_repo_branch | |
mvn install | |
cd .. | |
git clone https://github.com/NeuroML/NeuroML2.git | |
cd NeuroML2 | |
git checkout $main_repo_branch | |
mvn install | |
cd .. | |
git clone https://github.com/LEMS/jLEMS.git | |
cd jLEMS | |
git checkout $main_repo_branch | |
mvn install | |
cd .. | |
git clone https://github.com/NeuroML/org.neuroml.model.git | |
cd org.neuroml.model | |
git checkout $main_repo_branch | |
mvn install | |
cd .. | |
# Install this package and test with Maven | |
pwd | |
mvn install | |
mvn dependency:tree | |
- name: Install and test (Win) | |
if: ${{ matrix.runs-on == 'windows-2019' }} | |
run: | | |
# Install org.neuroml.model.injectingplugin | |
$env:main_repo_branch=$env:GITHUB_REF_NAME | |
if ( $env:main_repo_branch -ne "master" -and $env:main_repo_branch -ne "development" -and $env:main_repo_branch -ne "experimental" -and $env:main_repo_branch -notlike '*osb*' ) { $env:main_repo_branch="development" } | |
echo "Using branch $env:main_repo_branch..." | |
git clone https://github.com/NeuroML/org.neuroml.model.injectingplugin.git | |
cd org.neuroml.model.injectingplugin | |
git checkout $env:main_repo_branch | |
mvn install | |
cd .. | |
# Install NeuroML2 | |
echo Using branch $env:GITHUB_REF_NAME | |
git clone https://github.com/NeuroML/NeuroML2.git | |
cd NeuroML2 | |
git checkout $env:main_repo_branch | |
mvn install | |
cd .. | |
git clone https://github.com/LEMS/jLEMS.git | |
cd jLEMS | |
git checkout $env:main_repo_branch | |
mvn install | |
cd .. | |
git clone https://github.com/NeuroML/org.neuroml.model.git | |
cd org.neuroml.model | |
git checkout $env:main_repo_branch | |
mvn install | |
cd .. | |
# Install this package and test with Maven | |
pwd | |
mvn install | |
mvn dependency:tree |