update expected tests #106
Workflow file for this run
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
name: Build and Test | |
on: [push] | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
env: | |
GCC_V: 12 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: fortran-lang/setup-fpm@v5 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Dependencies Ubuntu | |
if: contains(matrix.os, 'ubuntu') | |
run: | | |
sudo apt-get update | |
sudo apt install -y gfortran-${GCC_V} | |
sudo apt install fonts-firacode | |
sudo apt-get install libcairo2 | |
sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} 100 | |
wget https://github.com/dmtrKovalenko/odiff/releases/download/v3.0.1/odiff-Linux-3.0.0-5826168c.tar.gz | |
tar zvxf odiff-Linux-3.0.0-5826168c.tar.gz | |
mv ./odiff-5826168c/bin/ODiffBin odiff | |
- name: Build and Test Linux | |
if: contains(matrix.os, 'ubuntu') | |
run: | | |
which gfortran | |
gfortran --version | |
fpm test --flag '-DTESTING' | |
- name: Upload Artifacts | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: upload-artifact | |
path: . |