Skip to content

Commit

Permalink
ci: remove ninja test
Browse files Browse the repository at this point in the history
getting spurious timeouts on download that are CI-specific
  • Loading branch information
scivision committed Jan 28, 2025
1 parent 32d7c97 commit 4d04077
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,43 +22,37 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Ninja
run: cmake -Dprefix:PATH=~/ninja -P scripts/install_ninja.cmake

- name: Install CMake
run: cmake -Dprefix:PATH=~/cmake -P scripts/install_cmake.cmake

- name: CMake path (linux)
if: runner.os == 'Linux'
run: |
echo "$HOME/cmake/bin" >> $GITHUB_PATH
echo "CMAKE_PROGRAM_PATH=$HOME/ninja" >> $GITHUB_ENV
- name: CMake path (macOS)
if: runner.os == 'macOS'
run: |
echo "$HOME/cmake/CMake.app/Contents/bin" >> $GITHUB_PATH
echo "CMAKE_PROGRAM_PATH=$HOME/ninja" >> $GITHUB_ENV
- name: CMake path (Windows)
if: runner.os == 'Windows'
run: |
echo "$env:userprofile/cmake/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "CMAKE_PROGRAM_PATH=$env:userprofile/ninja" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- run: echo $PATH

- run: cmake --version

- name: configure cmake (w/ Fortran)
if: runner.os != 'Windows'
run: cmake -G Ninja --preset default
run: cmake --preset default
env:
FC: gfortran-14

- name: configure CMake (w/o Fortran)
if: runner.os == 'Windows'
run: cmake -G Ninja -Dfortran=no --preset default
run: cmake -Dfortran=no --preset default

- run: cmake --build --preset release

Expand Down

0 comments on commit 4d04077

Please sign in to comment.