Skip to content

Commit

Permalink
update ci.yml, again
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Sep 9, 2024
1 parent 717bf1e commit a6c6b8c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
sudo apt-get install libz-dev python3-pip g++ gfortran python3-numpy
- name: install nanobind
run: |
git clone --depth=1 https://github.com/wjakob/nanobind.git
git clone --recursive --depth=1 https://github.com/wjakob/nanobind.git
- name: build and test
run: |
g++ --version
Expand Down Expand Up @@ -177,18 +177,18 @@ jobs:
- name: run tests under valgrind
run: PYTHONMALLOC=malloc valgrind python3 -m unittest discover -v -s tests/

ubuntu2004_clang6:
name: "Ubuntu 20.04 with Clang 6.0"
ubuntu2004_clang7:
name: "Ubuntu 20.04 with Clang 7"
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, '[skip ci]')"
env:
CC: clang-6.0
CXX: clang++-6.0
CC: clang-7
CXX: clang++-7
SKBUILD_CMAKE_ARGS: "-DCMAKE_CXX_STANDARD=11;-DEXTRA_WARNINGS=ON;-DSTANDALONE_PYTHON_MODULE=OFF"
SKBUILD_CMAKE_TARGETS: "all;check"
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install clang-6.0 libz-dev python3-pip python3-numpy
- run: sudo apt-get install clang-7 libz-dev python3-pip python3-numpy
- name: install nanobind
run: |
sudo /usr/bin/python3 -m pip install nanobind build
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
type python3.8
- name: install nanobind
run: |
git clone --depth=1 https://github.com/wjakob/nanobind.git
git clone --recursive --depth=1 https://github.com/wjakob/nanobind.git
cd nanobind
cmake . -Wno-dev -DPYTHON_EXECUTABLE=/usr/bin/python3.8 -DNB_TEST=OFF
make
Expand Down

0 comments on commit a6c6b8c

Please sign in to comment.