From a6c6b8cc1b85260b06afb46dd3da2b93668b40fa Mon Sep 17 00:00:00 2001 From: Marcin Wojdyr Date: Tue, 10 Sep 2024 00:36:15 +0200 Subject: [PATCH] update ci.yml, again --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b42beed..0c831ad9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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