Skip to content

Commit

Permalink
Merge pull request #162 from issp-center-dev/update_CI_envs
Browse files Browse the repository at this point in the history
Update CI envs
  • Loading branch information
yomichi authored May 2, 2024
2 parents df0277d + cc71904 commit a619d3b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ on:

jobs:
deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Inject slug/short variables
uses: rlespinasse/[email protected]

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: main

Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
mpisize: [1, 4, 16]
ompsize: [1, 3]
include:
- os: macos-11
- os: macos-13
mpisize: 1
ompsize: 1
- os: macos-latest
mpisize: 1
ompsize: 1
- os: ubuntu-20.04
Expand All @@ -30,7 +33,7 @@ jobs:
OMP_NUM_THREADS: ${{ matrix.ompsize }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: apt
if: ${{ runner.os == 'Linux' }}
Expand All @@ -43,9 +46,13 @@ jobs:
run: |
brew install openmpi scalapack
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: pip
run: |
python -m pip install numpy
python3 -m pip install numpy
- name: make workspace
Expand All @@ -56,7 +63,7 @@ jobs:
shell: bash
run: |
if [ ${{ runner.os }} = "macOS" ] ; then
export FC=gfortran-11
export FC=gfortran-12
fi
cmake -DCMAKE_VERBOSE_MAKEFILE=ON $GITHUB_WORKSPACE
Expand Down

0 comments on commit a619d3b

Please sign in to comment.