Skip to content

Various improvements for highspy #4826

Various improvements for highspy

Various improvements for highspy #4826

name: test-fortran-macos
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fast_build_release:
runs-on: [macos-15-intel]
steps:
- uses: actions/checkout@v6
- uses: fortran-lang/setup-fortran@v1.8
id: setup-fortran
with:
compiler: gcc
version: 14
# - name: Install GFortran
# run: brew install gfortran gcc
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: |
cmake --version
gfortran-14 --version
cmake $GITHUB_WORKSPACE -DFORTRAN=ON -DCMAKE_Fortran_COMPILER=gfortran-14
- name: Build
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake --build . --parallel
- name: Test
shell: bash
working-directory: ${{github.workspace}}/build
run: |
ls
./bin/fortrantest