diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile deleted file mode 100644 index 4b93054b8d..0000000000 --- a/.github/workflows/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -# Create a virtual environment with all tools installed -# ref: https://hub.docker.com/_/alpine -FROM alpine:edge -# Install system build dependencies -RUN apk add --no-cache git clang-extra-tools -RUN apk add --no-cache python3 py3-pip \ -&& rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED \ -&& python3 -m pip install black diff --git a/.github/workflows/aarch64_toolchain.yml b/.github/workflows/aarch64_toolchain.yml deleted file mode 100644 index 38e4ad4a1e..0000000000 --- a/.github/workflows/aarch64_toolchain.yml +++ /dev/null @@ -1,24 +0,0 @@ -# ref: https://toolchains.bootlin.com/ -name: aarch64 Toolchain - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - aarch64: - strategy: - matrix: - targets: [aarch64, aarch64be] - fail-fast: false - name: Linux • Toolchain ${{ matrix.targets }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build env stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_env - - name: Build devel stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_devel - - name: Build build stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_build - - name: Build Test stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_test diff --git a/.github/workflows/amd64_cmake_glop_cpp.yml b/.github/workflows/amd64_cmake_glop_cpp.yml deleted file mode 100644 index f2048bdc7b..0000000000 --- a/.github/workflows/amd64_cmake_glop_cpp.yml +++ /dev/null @@ -1,92 +0,0 @@ -name: amd64 CMake Glop C++ - -on: [push, pull_request, workflow_dispatch] - -jobs: - docker: - name: Docker • CMake • Glop - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build env image - run: make --directory=cmake glop_env - - name: Build devel image - run: make --directory=cmake glop_devel - - name: Build project - run: make --directory=cmake glop_build - - name: Test project - run: make --directory=cmake glop_test - - name: Build Install env image - run: make --directory=cmake glop_install_env - - name: Build Install devel image - run: make --directory=cmake glop_install_devel - - name: Build Install - run: make --directory=cmake glop_install_build - - name: Test Install - run: make --directory=cmake glop_install_test - - # ref: https://github.com/actions/runner-images - native: - strategy: - matrix: - cmake: [ - { - runner: "ubuntu-latest", - generator: "Unix Makefiles", - config: Release, - build_target: all, - test_target: test, - install_target: install - }, - { - runner: "macos-13", # last macos intel based runner - generator: "Xcode", - config: Release, - build_target: ALL_BUILD, - test_target: RUN_TESTS, - install_target: install - }, - { - runner: "macos-latest", # macos arm64 based runner - generator: "Xcode", - config: Release, - build_target: ALL_BUILD, - test_target: RUN_TESTS, - install_target: install - }, - { - runner: "windows-latest", - generator: "Visual Studio 17 2022", - config: Release, - build_target: ALL_BUILD, - test_target: RUN_TESTS, - install_target: INSTALL - }, - ] - fail-fast: false - name: ${{ matrix.cmake.runner }} • CMake • Glop - runs-on: ${{ matrix.cmake.runner }} - steps: - - uses: actions/checkout@v4 - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }} - -DBUILD_DEPS=ON - -DBUILD_CXX=OFF -DBUILD_GLOP=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.build_target }} - -v -j2 - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.install_target }} - -v diff --git a/.github/workflows/amd64_docker_bazel.yml b/.github/workflows/amd64_docker_bazel.yml deleted file mode 100644 index f28c0d1b32..0000000000 --- a/.github/workflows/amd64_docker_bazel.yml +++ /dev/null @@ -1,37 +0,0 @@ -# ref: https://github.com/docker-library/official-images -name: amd64 Docker Bazel - -on: [push, pull_request, workflow_dispatch] - -jobs: - bazel: - strategy: - matrix: - platform: [amd64] # arm64 riscv64 - distro: [ - almalinux, - # alpine, - archlinux, - debian, - fedora, - opensuse, - rockylinux, - ubuntu - ] - fail-fast: false - name: ${{ matrix.platform }} • ${{ matrix.distro }} • Bazel - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Check docker - run: | - docker info - docker buildx ls - - name: Build env image - run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_env - - name: Build devel image - run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_devel - - name: Build project - run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_build - - name: Test project - run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_test diff --git a/.github/workflows/amd64_docker_cmake.yml b/.github/workflows/amd64_docker_cmake.yml deleted file mode 100644 index 8c3f2e55c2..0000000000 --- a/.github/workflows/amd64_docker_cmake.yml +++ /dev/null @@ -1,35 +0,0 @@ -# ref: https://github.com/docker-library/official-images -name: amd64 Docker CMake - -on: [push, pull_request, workflow_dispatch] - -jobs: - cmake: - strategy: - matrix: - distro: [almalinux, alpine, archlinux, debian, fedora, opensuse, rockylinux, ubuntu] - lang: [cpp, python, dotnet, java] - fail-fast: false - name: ${{ matrix.distro }} • CMake • ${{ matrix.lang }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build base image - run: make --directory=cmake ${{ matrix.distro }}_base - - name: Build env image - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_env - - name: Build devel image - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_devel - - name: Build project - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_build - - name: Test project - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_test - - - name: Build install env image - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_env - - name: Build install devel image - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_devel - - name: Build install project - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_build - - name: Test install project - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_test diff --git a/.github/workflows/amd64_freebsd_cmake.yml b/.github/workflows/amd64_freebsd_cmake.yml deleted file mode 100644 index f70f58c2ab..0000000000 --- a/.github/workflows/amd64_freebsd_cmake.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: amd64 FreeBSD CMake - -on: [push, pull_request, workflow_dispatch] - -# Only macos-12 runner provide virtualisation with vagrant/virtualbox installed. -# ref: https://github.com/actions/runner-images/tree/main/images/macos -# ref: https://app.vagrantup.com/generic/boxes/freebsd13 -jobs: - vagrant: - strategy: - fail-fast: false - matrix: - distro: [freebsd] - lang: [cpp, python] - allow_failure: [false] - include: - - distro: freebsd - lang: dotnet - allow_failure: true - - distro: freebsd - lang: java - allow_failure: true - name: FreeBSD • CMake • ${{ matrix.lang }} - runs-on: macos-12 - steps: - - uses: actions/checkout@v4 - - name: vagrant version - run: Vagrant --version - - name: VirtualBox version - run: virtualbox -h - - name: Build - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }} diff --git a/.github/workflows/amd64_linux_bazel.yml b/.github/workflows/amd64_linux_bazel.yml deleted file mode 100644 index 7e4818dbbd..0000000000 --- a/.github/workflows/amd64_linux_bazel.yml +++ /dev/null @@ -1,61 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 Linux Bazel - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - python: [ - {version: '3.9'}, - {version: '3.10'}, - {version: '3.11'}, - {version: '3.12'}, - ] - fail-fast: false - name: Linux • Bazel • Python-${{ matrix.python.version }} - runs-on: ubuntu-latest - env: - CC: gcc-12 - CXX: g++-12 - steps: - - uses: actions/checkout@v4 - - name: Check Java - run: java -version - - name: Check mvn - run: mvn --version - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python.version }} - - name: Check Python - run: python --version - - name: Install Bazel - run: | - curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg - sudo mv bazel.gpg /etc/apt/trusted.gpg.d/ - echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list - sudo apt-get update - sudo apt-get install bazel - - name: Check Bazel - run: bazel version - - name: Change Python in WORKSPACE - run: > - sed - -i - 's/\(DEFAULT_PYTHON =\) "3.[0-9]\+"/\1 "${{ matrix.python.version }}"/g' - WORKSPACE - - name: Build - run: > - bazel build - -c opt - --subcommands=pretty_print - //ortools/... //examples/... - - name: Test - run: > - bazel test - -c opt - --test_output=errors - //ortools/... //examples/... diff --git a/.github/workflows/amd64_linux_cmake_coinor_off.yml b/.github/workflows/amd64_linux_cmake_coinor_off.yml deleted file mode 100644 index 28879a37e9..0000000000 --- a/.github/workflows/amd64_linux_cmake_coinor_off.yml +++ /dev/null @@ -1,71 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 Linux CMake CoinOR OFF - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {language: 'C++', args: '-DBUILD_CXX=ON'}, - {language: '.Net', args: '-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF -DBUILD_DOTNET=ON'}, - {language: 'Java', args: '-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF -DBUILD_JAVA=ON'}, - {language: 'Python', args: '-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF -DBUILD_PYTHON=ON'}, - ] - fail-fast: false - name: Linux • CMake • ${{ matrix.cmake.language }} • CoinOR OFF - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - # Install SWIG - - name: Swig install - run: sudo apt install -y swig - - name: Check swig - run: swig -version - # Install .NET SDKs - - name: Setup .NET 6.0 - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 6.0.x - - name: Check dotnet - run: dotnet --info - # Install Java - - name: Check java - run: java -version - # Install Python - - name: Install python3 venv - run: sudo apt-get install python3-venv - - name: Update Path - run: echo "$HOME/.local/bin" >> $GITHUB_PATH - # CMake - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -DCMAKE_BUILD_TYPE=Release - -DBUILD_DEPS=ON - -DUSE_COINOR=OFF - ${{ matrix.cmake.args }} - - name: Build - run: > - cmake --build build - --config Release - --target all - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config Release - --target test - -v - - name: Install - run: > - cmake --build build - --config Release - --target install - -v - -- DESTDIR=install diff --git a/.github/workflows/amd64_linux_cmake_cpp.yml b/.github/workflows/amd64_linux_cmake_cpp.yml deleted file mode 100644 index c54acef4ef..0000000000 --- a/.github/workflows/amd64_linux_cmake_cpp.yml +++ /dev/null @@ -1,52 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 Linux CMake C++ - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {generator: "Unix Makefiles", config: "Release"}, - {generator: "Ninja", config: "Release"}, - {generator: "Ninja Multi-Config", config: "Release"}, - ] - fail-fast: false - name: Linux • ${{ matrix.cmake.generator }} • C++ - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install Ninja - run: | - sudo apt-get update - sudo apt-get install ninja-build - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE="$BUILD_TYPE" - -DBUILD_DEPS=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target all - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config ${{ matrix.cmake.config }} - --target test - -v - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target install - -v diff --git a/.github/workflows/amd64_linux_cmake_dotnet.yml b/.github/workflows/amd64_linux_cmake_dotnet.yml deleted file mode 100644 index 2dff4dcb9d..0000000000 --- a/.github/workflows/amd64_linux_cmake_dotnet.yml +++ /dev/null @@ -1,51 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 Linux CMake .Net - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - name: Linux • CMake • .Net - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Swig install - run: | - sudo apt install -y swig - swig -version - - name: Setup .NET 6.0 - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 6.0.x - - name: Check dotnet - run: dotnet --info - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -DCMAKE_BUILD_TYPE=Release - -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF - -DBUILD_DOTNET=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config Release - --target all - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config Release - --target test - -v - - name: Install - run: > - cmake --build build - --config Release - --target install - -v - -- DESTDIR=install diff --git a/.github/workflows/amd64_linux_cmake_glpk_on.yml b/.github/workflows/amd64_linux_cmake_glpk_on.yml deleted file mode 100644 index ba6acab4fa..0000000000 --- a/.github/workflows/amd64_linux_cmake_glpk_on.yml +++ /dev/null @@ -1,41 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 Linux CMake GLPK ON - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - name: Linux • CMake • GLPK ON - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -DCMAKE_BUILD_TYPE=Release - -DBUILD_DEPS=ON - -DUSE_SCIP=OFF -DUSE_COINOR=OFF - -DUSE_GLPK=ON - - name: Build - run: > - cmake --build build - --config Release - --target all - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config Release - --target test - -v - - name: Install - run: > - cmake --build build - --config Release - --target install - -v - -- DESTDIR=install diff --git a/.github/workflows/amd64_linux_cmake_java.yml b/.github/workflows/amd64_linux_cmake_java.yml deleted file mode 100644 index 27ef493638..0000000000 --- a/.github/workflows/amd64_linux_cmake_java.yml +++ /dev/null @@ -1,46 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 Linux CMake Java - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - name: Linux • CMake • Java - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Swig install - run: | - sudo apt install -y swig - swig -version - - name: Check java - run: java -version - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -DCMAKE_BUILD_TYPE=Release - -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF - -DBUILD_JAVA=ON -DSKIP_GPG=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config Release - --target all - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config Release - --target test - -v - - name: Install - run: > - cmake --build build - --config Release - --target install - -v diff --git a/.github/workflows/amd64_linux_cmake_no_lp_parser.yml b/.github/workflows/amd64_linux_cmake_no_lp_parser.yml deleted file mode 100644 index 9da054149e..0000000000 --- a/.github/workflows/amd64_linux_cmake_no_lp_parser.yml +++ /dev/null @@ -1,40 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 Linux CMake C++ LP_PARSER OFF - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - name: Linux • CMake • LP_PARSER OFF - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -DCMAKE_BUILD_TYPE=Release - -DBUILD_DEPS=ON - -DBUILD_LP_PARSER=OFF - - name: Build - run: > - cmake --build build - --config Release - --target all - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config Release - --target test - -v - - name: Install - run: > - cmake --build build - --config Release - --target install - -v - -- DESTDIR=install diff --git a/.github/workflows/amd64_linux_cmake_python.yml b/.github/workflows/amd64_linux_cmake_python.yml deleted file mode 100644 index 68ac73ad65..0000000000 --- a/.github/workflows/amd64_linux_cmake_python.yml +++ /dev/null @@ -1,69 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 Linux CMake Python - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {generator: "Ninja", config: Release, build_target: all, test_target: test, install_target: install}, - {generator: "Ninja Multi-Config", config: Release, build_target: all, test_target: test, install_target: install}, - {generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install}, - ] - python: [ - {version: "3.9"}, - {version: "3.10"}, - {version: "3.11"}, - {version: "3.12"}, - ] - fail-fast: false - name: Linux • ${{ matrix.cmake.generator }} • Python-${{ matrix.python.version }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install Ninja - run: | - sudo apt update - sudo apt install -y ninja-build - - name: Swig install - run: | - sudo apt install -y swig - swig -version - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python.version }} - - name: Update Path - run: echo "$HOME/.local/bin" >> $GITHUB_PATH - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }} - -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF - -DBUILD_PYTHON=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.build_target }} - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.test_target }} - -v - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.install_target }} - -v diff --git a/.github/workflows/amd64_linux_cmake_scip_off.yml b/.github/workflows/amd64_linux_cmake_scip_off.yml deleted file mode 100644 index 6249d73aa8..0000000000 --- a/.github/workflows/amd64_linux_cmake_scip_off.yml +++ /dev/null @@ -1,71 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 Linux CMake SCIP OFF - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {language: 'C++', args: '-DBUILD_CXX=ON'}, - {language: '.Net', args: '-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF -DBUILD_DOTNET=ON'}, - {language: 'Java', args: '-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF -DBUILD_JAVA=ON'}, - {language: 'Python', args: '-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF -DBUILD_PYTHON=ON'}, - ] - fail-fast: false - name: Linux • CMake • ${{ matrix.cmake.language }} • SCIP OFF - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - # Install SWIG - - name: Swig install - run: sudo apt install -y swig - - name: Check swig - run: swig -version - # Install .NET SDKs - - name: Setup .NET 6.0 - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 6.0.x - - name: Check dotnet - run: dotnet --info - # Install Java - - name: Check java - run: java -version - # Install Python - - name: Install python3 venv - run: sudo apt-get install python3-venv - - name: Update Path - run: echo "$HOME/.local/bin" >> $GITHUB_PATH - # CMake - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -DCMAKE_BUILD_TYPE=Release - -DBUILD_DEPS=ON - -DUSE_SCIP=OFF - ${{ matrix.cmake.args }} - - name: Build - run: > - cmake --build build - --config Release - --target all - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config Release - --target test - -v - - name: Install - run: > - cmake --build build - --config Release - --target install - -v - -- DESTDIR=install diff --git a/.github/workflows/amd64_linux_cmake_system_deps.yml b/.github/workflows/amd64_linux_cmake_system_deps.yml deleted file mode 100644 index c818ca9b14..0000000000 --- a/.github/workflows/amd64_linux_cmake_system_deps.yml +++ /dev/null @@ -1,39 +0,0 @@ -# Test or-tools using system wide install dependencies. -name: amd64 Linux CMake System Dependencies - -on: [push, pull_request, workflow_dispatch] - -jobs: - native: - strategy: - matrix: - distro: [system_deps] - lang: [cpp, python, dotnet, java] - fail-fast: false - name: Archlinux • CMake • ${{ matrix.lang }} • BUILD_DEPS OFF - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build base image - run: make --directory=cmake ${{ matrix.distro }}_base - - name: Build env image - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_env - - name: Build devel image - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_devel - - name: Build project - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_build - - name: Test project - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_test - - - name: Build Install env image - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_env - - name: Build Install devel image - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_devel - - name: Build Install - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_build - - name: Test Install - run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_test - -# TODO(user): Add macOS + brew job -# TODO(user): Add Windows + choco/vcpkg job - diff --git a/.github/workflows/amd64_macos_bazel.yml b/.github/workflows/amd64_macos_bazel.yml deleted file mode 100644 index a478b5b604..0000000000 --- a/.github/workflows/amd64_macos_bazel.yml +++ /dev/null @@ -1,54 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 MacOS Bazel - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - python: [ - {version: '3.9'}, - {version: '3.10'}, - {version: '3.11'}, - {version: '3.12'}, - ] - fail-fast: false - name: MacOS • Bazel • Python-${{ matrix.python.version }} - runs-on: macos-13 # last macos intel based runner - steps: - - uses: actions/checkout@v4 - - name: Set Java to OpenJDK 17 (Temurin) - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: '17' - - name: Check mvn - run: mvn --version - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python.version }} - - name: Check Python - run: python --version - - name: Check Bazel - run: bazel version - - name: Change Python in WORKSPACE - run: > - sed - -i '' - -e 's/\(DEFAULT_PYTHON =\) "3.[0-9]*"/\1 "${{ matrix.python.version }}"/g' - WORKSPACE - - name: Build - run: > - bazel build - -c opt - --subcommands=pretty_print - //ortools/... //examples/... - - name: Test - run: > - bazel test - -c opt - --test_output=errors - //ortools/... //examples/... diff --git a/.github/workflows/amd64_macos_cmake_cpp.yml b/.github/workflows/amd64_macos_cmake_cpp.yml deleted file mode 100644 index f89a97db9d..0000000000 --- a/.github/workflows/amd64_macos_cmake_cpp.yml +++ /dev/null @@ -1,47 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 MacOS CMake C++ - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {generator: "Xcode", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: install}, - {generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install}, - ] - fail-fast: false - name: MacOS • ${{ matrix.cmake.generator }} • C++ - runs-on: macos-13 # last macos intel based runner - steps: - - uses: actions/checkout@v4 - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }} - -DBUILD_DEPS=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.build_target }} - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.test_target }} - -v - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.install_target }} - -v diff --git a/.github/workflows/amd64_macos_cmake_dotnet.yml b/.github/workflows/amd64_macos_cmake_dotnet.yml deleted file mode 100644 index cbae5400bd..0000000000 --- a/.github/workflows/amd64_macos_cmake_dotnet.yml +++ /dev/null @@ -1,58 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 MacOS CMake .Net - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {generator: "Xcode", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: install}, - {generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install}, - ] - fail-fast: false - name: MacOS • ${{ matrix.cmake.generator }} • .Net - runs-on: macos-13 # last macos intel based runner - steps: - - uses: actions/checkout@v4 - - name: Swig install - run: | - brew install swig - swig -version - - name: Setup .NET 6.0 - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 6.0.x - - name: Check dotnet - run: dotnet --info - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }} - -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF - -DBUILD_DOTNET=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.build_target }} - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.test_target }} - -v - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.install_target }} - -v diff --git a/.github/workflows/amd64_macos_cmake_java.yml b/.github/workflows/amd64_macos_cmake_java.yml deleted file mode 100644 index c5c89a15c7..0000000000 --- a/.github/workflows/amd64_macos_cmake_java.yml +++ /dev/null @@ -1,54 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 MacOS CMake Java - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {generator: "Xcode", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: install}, - {generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install}, - ] - fail-fast: false - name: MacOS • ${{ matrix.cmake.generator }} • Java - runs-on: macos-13 # last macos intel based runner - steps: - - uses: actions/checkout@v4 - - name: Swig install - run: | - brew install swig - swig -version - - name: Check java - run: java -version - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }} - -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF - -DBUILD_JAVA=ON -DSKIP_GPG=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.build_target }} - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.test_target }} - -v - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.install_target }} - -v diff --git a/.github/workflows/amd64_macos_cmake_python.yml b/.github/workflows/amd64_macos_cmake_python.yml deleted file mode 100644 index b1729db0c9..0000000000 --- a/.github/workflows/amd64_macos_cmake_python.yml +++ /dev/null @@ -1,66 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: amd64 MacOS CMake Python - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {generator: "Xcode", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: install}, - {generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install}, - ] - python: [ - {version: "3.9"}, - {version: "3.10"}, - {version: "3.11"}, - {version: "3.12"} - ] - fail-fast: false - name: MacOS • ${{ matrix.cmake.generator }} • Python-${{ matrix.python.version }} - runs-on: macos-13 # last macos intel based runner - steps: - - uses: actions/checkout@v4 - - name: Swig install - run: | - brew install swig - swig -version - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python.version }} - - name: Update Path - run: | - echo "$HOME/Library/Python/${{ matrix.python.version }}/bin" >> $GITHUB_PATH - echo "$HOME/.local/bin" >> $GITHUB_PATH - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }} - -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF - -DBUILD_PYTHON=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.build_target }} - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.test_target }} - -v - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.install_target }} - -v diff --git a/.github/workflows/amd64_web.yml b/.github/workflows/amd64_web.yml deleted file mode 100644 index 06150646dc..0000000000 --- a/.github/workflows/amd64_web.yml +++ /dev/null @@ -1,23 +0,0 @@ -# ref: https://github.com/docker-library/official-images -name: amd64 Web - -on: [push, pull_request, workflow_dispatch] - -jobs: - emscripten: - name: Linux • Emscripten - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Check docker - run: | - docker info - docker buildx ls - - name: Build env image - run: make --directory=cmake web_env - - name: Build devel project - run: make --directory=cmake web_devel - - name: Build project - run: make --directory=cmake web_build - - name: Test project - run: make --directory=cmake web_test diff --git a/.github/workflows/arm64_macos_bazel.yml b/.github/workflows/arm64_macos_bazel.yml deleted file mode 100644 index 59d67a5d1e..0000000000 --- a/.github/workflows/arm64_macos_bazel.yml +++ /dev/null @@ -1,54 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: arm64 MacOS Bazel - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - python: [ - {version: '3.9'}, - {version: '3.10'}, - {version: '3.11'}, - {version: '3.12'}, - ] - fail-fast: false - name: MacOS • Bazel • Python-${{ matrix.python.version }} - runs-on: macos-latest # macos arm64 based runner - steps: - - uses: actions/checkout@v4 - - name: Set Java to OpenJDK 17 (Temurin) - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: '17' - - name: Check mvn - run: mvn --version - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python.version }} - - name: Check Python - run: python --version - - name: Check Bazel - run: bazel version - - name: Change Python in WORKSPACE - run: > - sed - -i '' - -e 's/\(DEFAULT_PYTHON =\) "3.[0-9]*"/\1 "${{ matrix.python.version }}"/g' - WORKSPACE - - name: Build - run: > - bazel build - -c opt - --subcommands=pretty_print - //ortools/... //examples/... - - name: Test - run: > - bazel test - -c opt - --test_output=errors - //ortools/... //examples/... diff --git a/.github/workflows/arm64_macos_cmake_cpp.yml b/.github/workflows/arm64_macos_cmake_cpp.yml deleted file mode 100644 index 8388c59aa1..0000000000 --- a/.github/workflows/arm64_macos_cmake_cpp.yml +++ /dev/null @@ -1,47 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: arm64 MacOS CMake C++ - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {generator: "Xcode", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: install}, - {generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install}, - ] - fail-fast: false - name: MacOS • ${{ matrix.cmake.generator }} • C++ - runs-on: macos-latest # macos arm64 based runner - steps: - - uses: actions/checkout@v4 - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }} - -DBUILD_DEPS=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.build_target }} - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.test_target }} - -v - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.install_target }} - -v diff --git a/.github/workflows/arm64_macos_cmake_dotnet.yml b/.github/workflows/arm64_macos_cmake_dotnet.yml deleted file mode 100644 index 193d3675b8..0000000000 --- a/.github/workflows/arm64_macos_cmake_dotnet.yml +++ /dev/null @@ -1,58 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: arm64 MacOS CMake .Net - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {generator: "Xcode", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: install}, - {generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install}, - ] - fail-fast: false - name: MacOS • ${{ matrix.cmake.generator }} • .Net - runs-on: macos-latest # macos arm64 based runner - steps: - - uses: actions/checkout@v4 - - name: Swig install - run: | - brew install swig - swig -version - - name: Setup .NET 6.0 - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 6.0.x - - name: Check dotnet - run: dotnet --info - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }} - -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF - -DBUILD_DOTNET=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.build_target }} - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.test_target }} - -v - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.install_target }} - -v diff --git a/.github/workflows/arm64_macos_cmake_java.yml b/.github/workflows/arm64_macos_cmake_java.yml deleted file mode 100644 index 225d7773de..0000000000 --- a/.github/workflows/arm64_macos_cmake_java.yml +++ /dev/null @@ -1,54 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: arm64 MacOS CMake Java - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {generator: "Xcode", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: install}, - {generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install}, - ] - fail-fast: false - name: MacOS • ${{ matrix.cmake.generator }} • Java - runs-on: macos-latest # macos arm64 based runner - steps: - - uses: actions/checkout@v4 - - name: Swig install - run: | - brew install swig - swig -version - - name: Check java - run: java -version - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }} - -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF - -DBUILD_JAVA=ON -DSKIP_GPG=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.build_target }} - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.test_target }} - -v - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.install_target }} - -v diff --git a/.github/workflows/arm64_macos_cmake_python.yml b/.github/workflows/arm64_macos_cmake_python.yml deleted file mode 100644 index 7cd90596f4..0000000000 --- a/.github/workflows/arm64_macos_cmake_python.yml +++ /dev/null @@ -1,66 +0,0 @@ -# ref: https://github.com/actions/runner-images -name: arm64 MacOS CMake Python - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - native: - strategy: - matrix: - cmake: [ - {generator: "Xcode", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: install}, - {generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install}, - ] - python: [ - {version: "3.9"}, - {version: "3.10"}, - {version: "3.11"}, - {version: "3.12"} - ] - fail-fast: false - name: MacOS • ${{ matrix.cmake.generator }} • Python-${{ matrix.python.version }} - runs-on: macos-latest # macos arm64 based runner - steps: - - uses: actions/checkout@v4 - - name: Swig install - run: | - brew install swig - swig -version - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python.version }} - - name: Update Path - run: | - echo "$HOME/Library/Python/${{ matrix.python.version }}/bin" >> $GITHUB_PATH - echo "$HOME/.local/bin" >> $GITHUB_PATH - - name: Check cmake - run: cmake --version - - name: Configure - run: > - cmake -S. -Bbuild - -G "${{ matrix.cmake.generator }}" - -DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }} - -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF - -DBUILD_PYTHON=ON - -DCMAKE_INSTALL_PREFIX=install - - name: Build - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.build_target }} - -v -j2 - - name: Test - run: > - CTEST_OUTPUT_ON_FAILURE=1 - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.test_target }} - -v - - name: Install - run: > - cmake --build build - --config ${{ matrix.cmake.config }} - --target ${{ matrix.cmake.install_target }} - -v diff --git a/.github/workflows/check_format.yml b/.github/workflows/check_format.yml deleted file mode 100644 index 16bedf598b..0000000000 --- a/.github/workflows/check_format.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Check Format - -on: [push, pull_request, workflow_dispatch] - -jobs: - # Building using the github runner environement directly. - clang-format: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Fetch origin/main - run: git fetch origin main - - name: List of changed file(s) - run: git diff --name-only FETCH_HEAD - - - name: Build clang-format docker - run: cd .github/workflows && docker build --tag=linter . - - name: Check clang-format - run: docker run --rm --init -v $(pwd):/repo linter:latest clang-format --version - - name: clang-format help - run: docker run --rm --init -v $(pwd):/repo linter:latest clang-format --help - - - name: Check current commit - run: docker run --rm --init -v $(pwd):/repo -w /repo linter:latest sh -c "git diff --diff-filter=d --name-only FETCH_HEAD | grep '\.c$\|\.h$\|\.cc$\|\.java$\|\.cs$' | xargs clang-format --verbose --style=file --dry-run --Werror " diff --git a/.github/workflows/mips_toolchain.yml b/.github/workflows/mips_toolchain.yml deleted file mode 100644 index 0234f00f21..0000000000 --- a/.github/workflows/mips_toolchain.yml +++ /dev/null @@ -1,24 +0,0 @@ -# ref: https://codescape.mips.com/components/toolchain/2021.09-01/downloads.html -name: mips Toolchain - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - mips: - strategy: - matrix: - targets: [mips64, mips64el] - fail-fast: false - name: Linux • Toolchain ${{ matrix.targets }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build env stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_env - - name: Build devel stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_devel - - name: Build build stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_build - - name: Build Test stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_test diff --git a/.github/workflows/powerpc_toolchain.yml b/.github/workflows/powerpc_toolchain.yml deleted file mode 100644 index cd64bdb235..0000000000 --- a/.github/workflows/powerpc_toolchain.yml +++ /dev/null @@ -1,24 +0,0 @@ -# ref: https://toolchains.bootlin.com/ -name: powerpc Toolchain - -on: [push, pull_request, workflow_dispatch] - -# Building using the github runner environement directly. -jobs: - powerpc: - strategy: - matrix: - targets: [ppc64, ppc64le] - fail-fast: false - name: Linux • Toolchain ${{ matrix.targets }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build env stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_env - - name: Build devel stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_devel - - name: Build build stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_build - - name: Build Test stage - run: make --directory=cmake toolchain_${{ matrix.targets }}_test