]> https://gitweb.dealii.org/ - candi.git/commitdiff
Indent main.yml
authorFabian Castelli <fabian.castelli@kit.edu>
Thu, 24 Feb 2022 23:58:50 +0000 (00:58 +0100)
committerFabian Castelli <fabian.castelli@kit.edu>
Thu, 24 Feb 2022 23:58:50 +0000 (00:58 +0100)
.github/workflows/main.yml

index a2806090642b3aa020a180f5be0b9227a7046d55..39bcd08e484cca973f8f67feda7e63e872e2f476 100644 (file)
@@ -8,105 +8,105 @@ jobs:
     runs-on: [ubuntu-18.04]
 
     steps:
-    - uses: actions/checkout@v2
-    - name: setup
-      run: |
-        sudo apt-get install gfortran libopenmpi-dev openmpi-common openmpi-bin libblas-dev liblapack-dev libblas3 liblapack3
-    - name: info
-      run: |
-        g++ -v
-        mpic++ -v
-        cmake --version
-    - name: build
-      run: |
-        echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
-        ./candi.sh -j 2 --packages="once:p4est dealii"
-        cd ~/dealii-candi/tmp/build/deal.II-* && cat detailed.log && make test
+      - uses: actions/checkout@v2
+      - name: setup
+        run: |
+          sudo apt-get install gfortran libopenmpi-dev openmpi-common openmpi-bin libblas-dev liblapack-dev libblas3 liblapack3
+      - name: info
+        run: |
+          g++ -v
+          mpic++ -v
+          cmake --version
+      - name: build
+        run: |
+          echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
+          ./candi.sh -j 2 --packages="once:p4est dealii"
+          cd ~/dealii-candi/tmp/build/deal.II-* && cat detailed.log && make test
 
   ubuntu20-blas:
     name: ubuntu 20.04
     runs-on: [ubuntu-20.04]
 
     steps:
-    - uses: actions/checkout@v2
-    - name: setup
-      run: |
-        sudo apt-get install gfortran libopenmpi-dev openmpi-common openmpi-bin
-    - name: info
-      run: |
-        g++ -v
-        mpic++ -v
-        cmake --version
-    - name: build
-      run: |
-        # use our cmake version, as the runner has 3.19 installed, which is too new for deal.II
-        ./candi.sh -j 2 --packages="once:cmake once:openblas once:p4est dealii"
-        cd ~/dealii-candi/tmp/build/deal.II-* && cat detailed.log && make test
+      - uses: actions/checkout@v2
+      - name: setup
+        run: |
+          sudo apt-get install gfortran libopenmpi-dev openmpi-common openmpi-bin
+      - name: info
+        run: |
+          g++ -v
+          mpic++ -v
+          cmake --version
+      - name: build
+        run: |
+          # use our cmake version, as the runner has 3.19 installed, which is too new for deal.II
+          ./candi.sh -j 2 --packages="once:cmake once:openblas once:p4est dealii"
+          cd ~/dealii-candi/tmp/build/deal.II-* && cat detailed.log && make test
 
   osx-minimal:
     name: OSX clang
     runs-on: [macos-latest]
 
     steps:
-    - uses: actions/checkout@v2
-    - name: setup
-      run: |
-        # force cmake version:
-        pip install cmake==3.20.5
-        echo "/Library/Frameworks/Python.framework/Versions/2.7/bin" >> $GITHUB_PATH
-        brew install openmpi
-        brew reinstall gcc@9
-    - name: info
-      run: |
-        mpicxx -v
-        cmake --version
-    - name: build
-      run: |
-        echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
-        ./candi.sh -j 2 --packages="dealii"
-        cd ~/dealii-candi/tmp/build/deal.II-* && cat detailed.log && make test
+      - uses: actions/checkout@v2
+      - name: setup
+        run: |
+          # force cmake version:
+          pip install cmake==3.20.5
+          echo "/Library/Frameworks/Python.framework/Versions/2.7/bin" >> $GITHUB_PATH
+          brew install openmpi
+          brew reinstall gcc@9
+      - name: info
+        run: |
+          mpicxx -v
+          cmake --version
+      - name: build
+        run: |
+          echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
+          ./candi.sh -j 2 --packages="dealii"
+          cd ~/dealii-candi/tmp/build/deal.II-* && cat detailed.log && make test
 
   macos-gcc:
     name: macos-gcc
     runs-on: [macos-latest]
 
     steps:
-    - uses: actions/checkout@v2
-    - name: setup
-      run: |
-        # Force cmake version 3.20.5
-        pip install cmake==3.20.5
-        echo "/Library/Frameworks/Python.framework/Versions/2.7/bin" >> $GITHUB_PATH
-
-        # Update packages
-        brew update
-        brew upgrade
-
-        # Install openmpi
-        brew install openmpi
-
-        # Reinstall gcc
-        brew reinstall gcc@9
-
-    - name: info
-      run: |
-        # Export the compilers
-        export OMPI_CXX=g++-9; export OMPI_CC=gcc-9; export OMPI_FC=gfortran-9
-
-        # Show compilers and cmake versions
-        mpicc --version
-        mpicxx --version
-        mpif90 --version
-        mpif77 --version
-        cmake --version
-
-    - name: build
-      run: |
-        # Export the compilers
-        export OMPI_CXX=g++-9; export OMPI_CC=gcc-9; export OMPI_FC=gfortran-9
-
-        # Compile dealii in DEBUG mode only
-        echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
-
-        ./candi.sh -j 2 --packages="once:p4est once:petsc dealii"
-        cd ~/dealii-candi/tmp/build/deal.II-* && cat detailed.log && make test
+      - uses: actions/checkout@v2
+      - name: setup
+        run: |
+          # Force cmake version 3.20.5
+          pip install cmake==3.20.5
+          echo "/Library/Frameworks/Python.framework/Versions/2.7/bin" >> $GITHUB_PATH
+
+          # Update packages
+          brew update
+          brew upgrade
+
+          # Install openmpi
+          brew install openmpi
+
+          # Reinstall gcc
+          brew reinstall gcc@9
+
+      - name: info
+        run: |
+          # Export the compilers
+          export OMPI_CXX=g++-9; export OMPI_CC=gcc-9; export OMPI_FC=gfortran-9
+
+          # Show compilers and cmake versions
+          mpicc --version
+          mpicxx --version
+          mpif90 --version
+          mpif77 --version
+          cmake --version
+
+      - name: build
+        run: |
+          # Export the compilers
+          export OMPI_CXX=g++-9; export OMPI_CC=gcc-9; export OMPI_FC=gfortran-9
+
+          # Compile dealii in DEBUG mode only
+          echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg
+
+          ./candi.sh -j 2 --packages="once:p4est once:petsc dealii"
+          cd ~/dealii-candi/tmp/build/deal.II-* && cat detailed.log && make test

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.