Skip to content

Commit

Permalink
Merge pull request #125 from TGSAI/124_CI_patch
Browse files Browse the repository at this point in the history
ci patch
  • Loading branch information
markspec authored Sep 27, 2024
2 parents 2c74346 + 32dde2a commit 65e7fbd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/cmake_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # [ubuntu-latest, macos-latest]
os: [ubuntu-24.04] # [ubuntu-latest, macos-latest]
compiler: [g++, clang++]
runs-on: ${{ matrix.os }}
permissions:
Expand All @@ -30,11 +30,16 @@ jobs:
cxx-compiler: ${{ matrix.compiler }}
- name: Build tests
run: cd build && pwd && make -j
- name: Install Python 3.10
run: |
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt update -y
sudo apt install -y python3.10 python3.10-venv python3.10-dev
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
- name: Install test dependencies
run: |
sudo apt-get install -y python3.10-full \
&& pip install --upgrade pip \
&& pip install wheel yapf cpplint zarr xarray
python3.10 -m pip install --upgrade pip setuptools wheel --no-input
python3.10 -m pip install yapf cpplint zarr xarray --no-input
- name: Run tests
run: |
cd build/mdio/ \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # [ubuntu-latest, macos-latest]
os: [ubuntu-24.04] # [ubuntu-latest, macos-latest]
compiler: [g++]
runs-on: ${{ matrix.os }}
permissions:
Expand Down

0 comments on commit 65e7fbd

Please sign in to comment.