diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index bfb208092..9b5d4e93b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -10,7 +10,7 @@ jobs: container: docker://nasatrick/${{matrix.container}}:latest strategy: matrix: - container: [trick_centos7, trick_centos8, trick_ubuntu1804] + container: [trick_ubuntu1804] steps: - name: run tests run: | diff --git a/.github/workflows/python_tests_32.yml b/.github/workflows/python_tests_32.yml deleted file mode 100644 index 74754de03..000000000 --- a/.github/workflows/python_tests_32.yml +++ /dev/null @@ -1,86 +0,0 @@ -name: Python Tests 32-bit - -on: - push: - # Temporarily disable all tests for Issue #1188. - branches-ignore: - - '**' - paths-ignore: - - 'docs/**' - - '.github/workflows/**' - - '!.github/workflows/python_tests_32.yml' - pull_request: - # Temporarily disable all tests for Issue #1188. - branches-ignore: - - '**' - -jobs: - trick_32bit: - runs-on: ubuntu-18.04 - container: docker://centos:7 - steps: - - name: Checkout repository - uses: actions/checkout@master - - name: Add yum repo - run: yum -y install epel-release.noarch && yum -y update - - name: Install python dependencies - run: yum install -y python3-venv python3 python3-pip python3-devel gcc - - name: Info - run: | - python3 --version - - name: Build Python environment - run: | - cd share/trick/pymods/trick - python3 -m venv .venv && . .venv/bin/activate && pip3 install -r requirements.txt - - name: Install dependency group - run: yum -y groupinstall "Development tools" && yum -y update - - name: Install other dependencies - run: > - yum remove -y swig && yum install -y llvm llvm-devel llvm-static clang clang-devel - bison flex gcc gcc-c++ libxml2-devel make cmake wget - ncurses-devel openmotif openmotif-devel python-devel perl - perl-Digest-MD5 swig3 zlib-devel glibc.x86_64 libxml2-devel.i686 - ncurses-devel.i686 zlib-devel.i686 python-libs.i686 - expat-2.1.0-10.el7_3.i686 glibc-devel-2.17-196.el7.i686 - glibc.i686 glibc-devel.i686 udunits2 udunits2-devel gtest-devel.i686 - java-11-openjdk java-11-openjdk-devel expat-devel.i686 - which gcc-gfortran git wget gsl-devel gtest-devel gsl-devel.i686 - maven udunits2 udunits2-devel zip python3-tkinter xorg-x11-server-Xvfb - - name: Symlink python - run: | - cd /usr/lib - ln -s ./libpython2.7.so.1.0 libpython2.7.so - - name: Install Udunits (32 bit) - run: | - cd / - curl --retry 4 -O https://artifacts.unidata.ucar.edu/repository/downloads-udunits/udunits-2.2.28.tar.gz - tar xfvz udunits-2.2.28.tar.gz - rm -rf udunits-2.2.28.tar.gz - cd udunits-2.2.28 - export CFLAGS="-m32" - ./configure - make - make install - - name: Install GTest (32 bit) - run: | - wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz - tar xfvz release-1.8.0.tar.gz - cd googletest-release-1.8.0/googletest - export CFLAGS="-m32" - export CXXFLAGS="-m32" - cmake . - make - make install - - name: Build Trick - run: | - yum -y update && yum clean all - export MAKEFLAGS=-j`nproc` - ./configure --without-hdf5 --enable-32bit - make - - name: Run civet tests - run: | - cd share/trick/pymods/trick/ - . .venv/bin/activate - ./run_tests.py - env: - TRICK_HOME: "${{ github.workspace }}" diff --git a/.github/workflows/python_tests_linux.yml b/.github/workflows/python_tests_linux.yml index 712a2b4cd..63b475758 100644 --- a/.github/workflows/python_tests_linux.yml +++ b/.github/workflows/python_tests_linux.yml @@ -24,8 +24,6 @@ jobs: - { os: ubuntu, tag: 18.04, arch: debian } # EOL April 2023 - { os: ubuntu, tag: 20.04, arch: debian } # EOL April 2025 - { os: debian, tag: 10, arch: debian } # EOL 2024 - - { os: centos, tag: 7, arch: rhel } # EOL June 2024 - - { os: centos, tag: latest, arch: rhel } # 8 as of April 2020 # - { os: fedora, tag: latest, arch: rhel } # 31 as of April 2020 # - { os: fedora, tag: 33, arch: rhel } # feeling confident? # - { os: fedora, tag: rawhide, arch: rhel } # for thrill-seekers only @@ -102,13 +100,6 @@ jobs: - cfg: { os: debian } os_deps: >- openjdk-11-jdk -#-------- CentOS Only Dependencies ---------------- - - cfg: { os: centos } - pkg_mgr: yum - conf_pkg: yum -y install epel-release && yum -y update - os_deps: >- - libX11-devel - libXt-devel #-------- Fedora Only Dependencies ---------------- # - cfg: { os: fedora } # pkg_mgr: dnf @@ -123,21 +114,6 @@ jobs: install_gtest: cd /usr/src/gtest && cmake . && make && cp lib/libgtest* /usr/lib/ tag_deps: >- python3.8-dev - - cfg: { os: centos, tag: 7 } - tag_deps: >- - swig3 - python-devel - - cfg: { os: centos, tag: latest } - pkg_mgr: dnf - conf_pkg: > - sed -i -e "s|mirrorlist=|#mirrorlist=|g" -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-Linux-* && - dnf -y install epel-release && - dnf -y update && - dnf install -y 'dnf-command(config-manager)' && - dnf config-manager --enable powertools - tag_deps: >- - swig - python3-devel diffutils #-------- Job definition ---------------- runs-on: ubuntu-18.04 container: docker://${{matrix.cfg.os}}:${{matrix.cfg.tag}} diff --git a/.github/workflows/report_linux.yml b/.github/workflows/report_linux.yml index 668be883f..907dc2b42 100644 --- a/.github/workflows/report_linux.yml +++ b/.github/workflows/report_linux.yml @@ -13,7 +13,6 @@ jobs: cfg: #-------- Operating Systems ---------------- - { os: ubuntu, tag: 22.04, arch: debian, arch_ver: 12 } - - { os: centos, tag: 7, arch: rhel, arch_ver: 7 } - { os: rockylinux, tag: 8, arch: rhel, arch_ver: 8 } - { os: oraclelinux, tag: 8, arch: rhel, arch_ver: 8 } python: [3] diff --git a/.github/workflows/report_linux_py2.yml b/.github/workflows/report_linux_py2.yml index d324d7b89..74b71e0a7 100644 --- a/.github/workflows/report_linux_py2.yml +++ b/.github/workflows/report_linux_py2.yml @@ -13,7 +13,6 @@ jobs: cfg: #-------- Operating Systems ---------------- - { os: ubuntu, tag: 22.04, arch: debian, arch_ver: 12 } - - { os: centos, tag: 7, arch: rhel, arch_ver: 7 } - { os: rockylinux, tag: 8, arch: rhel, arch_ver: 8 } - { os: oraclelinux, tag: 8, arch: rhel, arch_ver: 8 } python: [2] @@ -21,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: dorny/test-reporter@v1 + - uses: dorny/test-reporter@v4 with: artifact: Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}} # artifact name name: Results_Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}} # Name of the check run which will be created diff --git a/.github/workflows/test_32.yml b/.github/workflows/test_32.yml deleted file mode 100644 index d96b7cfb8..000000000 --- a/.github/workflows/test_32.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: 32-bit - -on: - schedule: - - cron: '0 0 * * 0' - workflow_dispatch: - -jobs: - trick_32bit: - runs-on: ubuntu-latest - container: docker://centos:7 - steps: - - name: Add yum repo - run: yum -y install epel-release.noarch && yum -y update - - name: Install dependency group - run: yum -y groupinstall "Development tools" && yum -y update - - name: Install other dependencies - run: > - yum remove -y swig && yum install -y llvm llvm-devel llvm-static clang clang-devel - bison flex gcc gcc-c++ libxml2-devel make cmake wget - ncurses-devel openmotif openmotif-devel python-devel perl - perl-Digest-MD5 swig3 zlib-devel glibc.x86_64 libxml2-devel.i686 - ncurses-devel.i686 zlib-devel.i686 python-libs.i686 - expat-2.1.0-10.el7_3.i686 glibc-devel-2.17-196.el7.i686 - glibc.i686 glibc-devel.i686 udunits2 udunits2-devel gtest-devel.i686 - java-11-openjdk java-11-openjdk-devel expat-devel.i686 - which gcc-gfortran git wget gsl-devel gtest-devel gsl-devel.i686 - maven udunits2 udunits2-devel zip libgcc*i686 libstdc++*i686 glibc*i686 - - name: Symlink python - run: | - cd /usr/lib - ln -s ./libpython2.7.so.1.0 libpython2.7.so - - name: Install Udunits (32 bit) - run: | - cd / - curl --retry 4 -O https://artifacts.unidata.ucar.edu/repository/downloads-udunits/current/udunits-2.2.28.tar.gz - tar xfvz udunits-2.2.28.tar.gz - rm -rf udunits-2.2.28.tar.gz - cd udunits-2.2.28 - export CFLAGS="-m32" - ./configure - make - make install - - name: Install GTest (32 bit) - run: | - wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz - tar xfvz release-1.8.0.tar.gz - cd googletest-release-1.8.0/googletest - export CFLAGS="-m32" - export CXXFLAGS="-m32" - cmake . - make - make install - - name: Checkout repository - uses: actions/checkout@v3 - - name: Build Trick - run: | - yum -y update && yum clean all - export MAKEFLAGS=-j`nproc` - ./configure --without-hdf5 --enable-32bit - make - - name: Run tests - run: | - cd share/trick/trickops/ - yum install -y python3-devel - python3 -m venv .venv && . .venv/bin/activate && pip install --upgrade pip && pip3 install -r requirements.txt - cd ../../../ - echo $MAKEFLAGS $CXXFLAGS $CFLAGS - make test32 diff --git a/.github/workflows/test_linux.yml b/.github/workflows/test_linux.yml index 135501b76..eb07ed2e1 100644 --- a/.github/workflows/test_linux.yml +++ b/.github/workflows/test_linux.yml @@ -23,7 +23,6 @@ jobs: cfg: #-------- Operating Systems ---------------- - { os: ubuntu, tag: 22.04, arch: debian, arch_ver: 12 } - - { os: centos, tag: 7, arch: rhel, arch_ver: 7 } - { os: rockylinux, tag: 8, arch: rhel, arch_ver: 8 } - { os: oraclelinux, tag: 8, arch: rhel, arch_ver: 8 } python: [3] @@ -95,30 +94,6 @@ jobs: zlib-devel python2-devel python3-devel -#-------- RHEL 7-based Only Dependencies ---------------- - - cfg: { arch: rhel, arch_ver: 7 } - pkg_mgr: yum - conf_pkg: | - sed -i -e "s|mirrorlist=|#mirrorlist=|g" -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-* && - yum -y install epel-release - yum -y update - yum -y install wget - os_deps: >- - libX11-devel - libXt-devel - swig3 - install_gtest: | - cd /tmp - wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz - tar xzvf release-1.8.0.tar.gz - cd /tmp/googletest-release-1.8.0/googletest - cmake . - make - make install - cd /tmp/googletest-release-1.8.0/googlemock - cmake . - make - make install #-------- RHEL 8-based Only Dependencies ---------------- - cfg: { arch: rhel, arch_ver: 8 } pkg_mgr: dnf @@ -171,7 +146,7 @@ jobs: python3 -m venv .venv && . .venv/bin/activate && pip3 install -r requirements.txt cd ../../../; make test - name: Upload Tests - uses: actions/upload-artifact@v3.0.0 + uses: actions/upload-artifact@v4 if: success() || failure() # run this step even if previous step failed with: name: Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}} diff --git a/.github/workflows/test_linux_py2.yml b/.github/workflows/test_linux_py2.yml index f14fc1c40..ce2ef9bb0 100644 --- a/.github/workflows/test_linux_py2.yml +++ b/.github/workflows/test_linux_py2.yml @@ -13,7 +13,6 @@ jobs: cfg: #-------- Operating Systems ---------------- - { os: ubuntu, tag: 22.04, arch: debian, arch_ver: 12 } - - { os: centos, tag: 7, arch: rhel, arch_ver: 7 } - { os: rockylinux, tag: 8, arch: rhel, arch_ver: 8 } - { os: oraclelinux, tag: 8, arch: rhel, arch_ver: 8 } python: [2] diff --git a/.github/workflows/test_macos.yml b/.github/workflows/test_macos.yml index d232eadf0..1a365f79f 100644 --- a/.github/workflows/test_macos.yml +++ b/.github/workflows/test_macos.yml @@ -42,7 +42,7 @@ jobs: export MAKEFLAGS=-j4 cd ../../../; make test - name: Upload Tests - uses: actions/upload-artifact@v3.0.0 + uses: actions/upload-artifact@v4 if: success() || failure() # run this step even if previous step failed with: name: Trick_macos diff --git a/.github/workflows/trickops.yml b/.github/workflows/trickops.yml index d7a8dc8a3..ff6878c2d 100644 --- a/.github/workflows/trickops.yml +++ b/.github/workflows/trickops.yml @@ -20,7 +20,7 @@ jobs: - name: create virtual environment run: | cd share/trick/trickops/ - python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt + python3 -m venv .venv && source .venv/bin/activate && pip3 install --upgrade pip && pip3 install -r requirements.txt - name: get and build koviz run: | cd /tmp/ && wget -q https://github.com/nasa/koviz/archive/refs/heads/master.zip && unzip master.zip @@ -63,7 +63,7 @@ jobs: source ../.venv/bin/activate export PATH="/tmp/koviz-master/bin:${PATH}" ./run_tests.py - - uses: actions/upload-artifact@v3.0.0 + - uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: doctests diff --git a/README.md b/README.md index 9731c538c..336b1a4ed 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,15 @@
-+
@@ -24,14 +24,14 @@ The Trick Simulation Environment, developed at the NASA Johnson Space Center, isInstall Guide | -Tutorial | -Documentation | +
---|---|---|
Install Guide | +Tutorial | +Documentation |