diff --git a/.github/workflows/build-numpy.yml b/.github/workflows/build-numpy.yml index 19cf006f..d57490d7 100644 --- a/.github/workflows/build-numpy.yml +++ b/.github/workflows/build-numpy.yml @@ -11,7 +11,7 @@ on: jobs: NumPyMultiarrayTests: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Checkout x86-simd-sort @@ -24,10 +24,10 @@ jobs: working-directory: ${{ github.workspace }}/x86-simd-sort run: git switch -c pr-branch - - name: Install build dependencies - run: | - sudo apt update - sudo apt -y install g++-12 gcc-12 git + #- name: Install build dependencies + #run: | + #sudo apt update + #sudo apt -y install g++-12 gcc-12 git - name: Checkout NumPy main uses: actions/checkout@v3 @@ -38,9 +38,9 @@ jobs: ref: main path: numpy - - uses: actions/setup-python@v4 - with: - python-version: '3.10' + #- uses: actions/setup-python@v4 + #with: + #python-version: '3.10' - name: Install NumPy dependencies working-directory: ${{ github.workspace }}/numpy @@ -59,8 +59,8 @@ jobs: - name: Build & run NumPy sort tests working-directory: ${{ github.workspace }}/numpy env: - CXX: g++-12 - CC: gcc-12 + CXX: g++ + CC: gcc run: | python runtests.py -t numpy/core/tests/test_multiarray.py diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 67708ef1..58bf0ef8 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -9,33 +9,35 @@ on: jobs: ICX: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@v3 - - name: Install dependencies - run: | - sudo apt update - sudo apt -y install g++-10 libgtest-dev meson curl git cmake - - - name: Install google benchmarks - run: | - git clone https://github.com/google/benchmark.git - cd benchmark - cmake -E make_directory "build" - cmake -E chdir "build" cmake -DBENCHMARK_ENABLE_GTEST_TESTS=OFF -DBENCHMARK_ENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release ../ - sudo cmake --build "build" --config Release --target install - - - name: Install Intel SDE - run: | - curl -o /tmp/sde.tar.xz https://downloadmirror.intel.com/732268/sde-external-9.7.0-2022-05-09-lin.tar.xz - mkdir /tmp/sde && tar -xvf /tmp/sde.tar.xz -C /tmp/sde/ - sudo mv /tmp/sde/* /opt/sde && sudo ln -s /opt/sde/sde64 /usr/bin/sde + #- name: Install dependencies + #run: | + # sudo apt update + # sudo apt -y install g++-10 libgtest-dev meson curl git cmake + + #- name: Install google benchmarks + # run: | + # git clone https://github.com/google/benchmark.git + # cd benchmark + # cmake -E make_directory "build" + # cmake -E chdir "build" cmake -DBENCHMARK_ENABLE_GTEST_TESTS=OFF -DBENCHMARK_ENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release ../ + # sudo cmake --build "build" --config Release --target install + + #- name: Install Intel SDE + # run: | + # curl -o /tmp/sde.tar.xz https://downloadmirror.intel.com/732268/sde-external-9.7.0-2022-05-09-lin.tar.xz + # mkdir /tmp/sde && tar -xvf /tmp/sde.tar.xz -C /tmp/sde/ + # sudo mv /tmp/sde/* /opt/sde && sudo ln -s /opt/sde/sde64 /usr/bin/sde - name: Build env: - CXX: g++-10 + CXX: g++-9 + CFLAGS: "" + CXXFLAGS: "" run: | make clean meson setup --warnlevel 2 --werror --buildtype plain builddir @@ -47,33 +49,35 @@ jobs: SPR: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@v3 - - name: Install dependencies - run: | - sudo apt update - sudo apt -y install g++-12 libgtest-dev meson curl git cmake - - - name: Install google benchmarks - run: | - git clone https://github.com/google/benchmark.git - cd benchmark - cmake -E make_directory "build" - cmake -E chdir "build" cmake -DBENCHMARK_ENABLE_GTEST_TESTS=OFF -DBENCHMARK_ENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release ../ - sudo cmake --build "build" --config Release --target install - - - name: Install Intel SDE - run: | - curl -o /tmp/sde.tar.xz https://downloadmirror.intel.com/732268/sde-external-9.7.0-2022-05-09-lin.tar.xz - mkdir /tmp/sde && tar -xvf /tmp/sde.tar.xz -C /tmp/sde/ - sudo mv /tmp/sde/* /opt/sde && sudo ln -s /opt/sde/sde64 /usr/bin/sde + #- name: Install dependencies + #run: | + # sudo apt update + # sudo apt -y install g++-12 libgtest-dev meson curl git cmake + + #- name: Install google benchmarks + # run: | + # git clone https://github.com/google/benchmark.git + # cd benchmark + # cmake -E make_directory "build" + # cmake -E chdir "build" cmake -DBENCHMARK_ENABLE_GTEST_TESTS=OFF -DBENCHMARK_ENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release ../ + # sudo cmake --build "build" --config Release --target install + + #- name: Install Intel SDE + # run: | + # curl -o /tmp/sde.tar.xz https://downloadmirror.intel.com/732268/sde-external-9.7.0-2022-05-09-lin.tar.xz + # mkdir /tmp/sde && tar -xvf /tmp/sde.tar.xz -C /tmp/sde/ + # sudo mv /tmp/sde/* /opt/sde && sudo ln -s /opt/sde/sde64 /usr/bin/sde - name: Build env: - CXX: g++-12 + CXX: g++ + CFLAGS: "" + CXXFLAGS: "" run: | make clean meson setup --warnlevel 2 --werror --buildtype plain builddir