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