diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml deleted file mode 100644 index b7c7ce8..0000000 --- a/.github/workflows/setup.yml +++ /dev/null @@ -1,111 +0,0 @@ -name: SETUP - -on: - push: - tags: - - 'v*' - workflow_dispatch: - -env: - GIT_HTTPS: "true" - -jobs: - MEPHIT: - name: Build and test - runs-on: ubuntu-24.04 - - steps: - - uses: actions/checkout@v3 - - - name: Install dependencies - run: | - sudo apt-get update -y && sudo apt-get install -y -q --no-install-recommends \ - apt-transport-https \ - build-essential \ - ca-certificates \ - curl \ - libssl-dev \ - openssh-client \ - rsync \ - wget \ - git \ - gfortran \ - ninja-build \ - cmake \ - python3 \ - python3-dev \ - python3-pip \ - python3-venv - - sudo apt-get install -y -q --no-install-recommends \ - procps \ - nano \ - vim \ - htop \ - ncdu \ - less \ - gdb \ - cmake-curses-gui \ - valgrind \ - dbus-x11 \ - kcachegrind \ - python3-tk \ - idle3 \ - findent \ - expect \ - environment-modules - - sudo apt-get install -y -q --no-install-recommends \ - pkg-config \ - libsuitesparse-dev \ - libopenblas-dev \ - libsuperlu-dev \ - libhdf5-dev \ - libhdf5-openmpi-dev \ - libnetcdf-dev \ - libnetcdff-dev \ - libfftw3-dev \ - libgsl-dev \ - libopenmpi-dev \ - libscalapack-openmpi-dev \ - libpcre3-dev \ - libreadline-dev \ - h5utils \ - hdf5-tools \ - netcdf-bin \ - libmetis-dev \ - libboost-all-dev - - - name: Setup - run: | - set -e - source scripts/setup.sh - pushd external - ../scripts/setup/mfem.sh - popd - - - name: Build tarball - run: | - set -e - tar -czf /tmp/code.tar.gz . - - - name: Create GitHub Release - id: create_release - uses: actions/create-release@v1 - with: - tag_name: ${{ github.ref_name }} - release_name: "Release ${{ github.ref_name }}" - draft: false - prerelease: false - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} - - - name: Upload Tarball to Release - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: /tmp/code.tar.gz - asset_name: code-${{ github.ref_name }}.tar.gz - asset_content_type: application/gzip - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} diff --git a/README.md b/README.md index 4669b05..8c5bb6a 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,11 @@ script into bashrc with echo "source $PWD/activate.sh" >> ~/.bashrc +A `v*` tag produces a source-only Release: GitHub attaches a source archive +and there is no prebuilt-dependency download. Fresh setups run +`scripts/setup.sh`; the fastest path is the devcontainer image in +`.devcontainer/`. + ## External codes ### Intel compiler for codes GPEC and MARS