Skip to content

CI: Switch containers to a stable flang 22 #1601

CI: Switch containers to a stable flang 22

CI: Switch containers to a stable flang 22 #1601

Workflow file for this run

name: Build with LLVM Flang
on: [push, pull_request]
jobs:
Build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]
fail-fast: true
container: phhargrove/llvm-flang:22.1.0-latest
env:
FC: flang
CC: clang
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: fortran-lang/setup-fpm@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Test with LLVM Flang
if: contains(matrix.os, 'ubuntu')
run: |
fpm --version
$FC --version
$CC --version
export FPM_FC=$FC
export FPM_CC=$CC
fpm test --profile release