xref: /libCEED/.github/workflows/c-fortan-test-ppc64le.yml (revision acf3c4b6a8c41b1acd7e7bfed71087418a910350)
1*acf3c4b6SJeremy L Thompsonname: IBM Power
2*acf3c4b6SJeremy L Thompson
3*acf3c4b6SJeremy L Thompsonon:
4*acf3c4b6SJeremy L Thompson  push:
5*acf3c4b6SJeremy L Thompson    branches:
6*acf3c4b6SJeremy L Thompson      - main
7*acf3c4b6SJeremy L Thompson  pull_request:
8*acf3c4b6SJeremy L Thompson
9*acf3c4b6SJeremy L Thompsonjobs:
10*acf3c4b6SJeremy L Thompson  test:
11*acf3c4b6SJeremy L Thompson    strategy:
12*acf3c4b6SJeremy L Thompson      matrix:
13*acf3c4b6SJeremy L Thompson        os: [ubuntu-24.04]
14*acf3c4b6SJeremy L Thompson        compiler: [gcc-13]
15*acf3c4b6SJeremy L Thompson        arch: [ppc64le]
16*acf3c4b6SJeremy L Thompson        distro: [ubuntu22.04]
17*acf3c4b6SJeremy L Thompson
18*acf3c4b6SJeremy L Thompson    runs-on: ${{ matrix.os }}
19*acf3c4b6SJeremy L Thompson
20*acf3c4b6SJeremy L Thompson    steps:
21*acf3c4b6SJeremy L Thompson    - name: Environment setup
22*acf3c4b6SJeremy L Thompson      uses: actions/checkout@v4
23*acf3c4b6SJeremy L Thompson    - name: Hardware setup and test libCEED
24*acf3c4b6SJeremy L Thompson      uses: uraimo/run-on-arch-action@v3
25*acf3c4b6SJeremy L Thompson      env:
26*acf3c4b6SJeremy L Thompson        CC: ${{ matrix.compiler }}
27*acf3c4b6SJeremy L Thompson        FC: gfortran-13
28*acf3c4b6SJeremy L Thompson      id: runcmd
29*acf3c4b6SJeremy L Thompson      with:
30*acf3c4b6SJeremy L Thompson        arch: ${{ matrix.arch }}
31*acf3c4b6SJeremy L Thompson        distro: ${{ matrix.distro }}
32*acf3c4b6SJeremy L Thompson        run: |
33*acf3c4b6SJeremy L Thompson          apt-get -y update
34*acf3c4b6SJeremy L Thompson          apt-get install -y build-essential
35*acf3c4b6SJeremy L Thompson          apt-get install -y gfortran
36*acf3c4b6SJeremy L Thompson          apt-get install -y python3
37*acf3c4b6SJeremy L Thompson          uname -a
38*acf3c4b6SJeremy L Thompson          make info
39*acf3c4b6SJeremy L Thompson          make -j
40*acf3c4b6SJeremy L Thompson          PROVE_OPTS=-v make prove -j
41