Skip to content

math_opt: revert gscip_event_handler_test to previous behaviour #3880

math_opt: revert gscip_event_handler_test to previous behaviour

math_opt: revert gscip_event_handler_test to previous behaviour #3880

# ref: https://github.com/actions/runner-images
name: amd64 Linux CMake GLPK ON
on:
push:
branches:
- ci
- main
workflow_dispatch:
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
# Building using the github runner environment directly.
jobs:
native:
name: amd64•Linux•CMake•GLPK=ON
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: ./.github/actions/remote_cache
with:
credentials_json: '${{secrets.GCP_BUCKET_API_KEY}}'
set_cmake_sccache_launcher: true
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y ninja-build swig
swig -version
echo "JAVA_HOME=$JAVA_HOME_21_X64" >> $GITHUB_ENV
# Install .NET SDKs
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.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
- name: Check CMake
run: cmake --version
- name: Configure
run: >
cmake -S. -Bbuild
-G "Ninja"
-DCMAKE_BUILD_TYPE=Release
-DBUILD_DOTNET=ON -DBUILD_JAVA=ON -DBUILD_PYTHON=ON
-DUSE_SCIP=OFF -DUSE_COINOR=OFF
-DUSE_GLPK=ON
-DCMAKE_INSTALL_PREFIX=install
- id: num_cores
uses: ./.github/actions/num_cores
- name: Build
run: >
cmake --build build
--config Release
--target all
-j${{ steps.num_cores.outputs.cores }}
-v
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config Release
--target test
-j${{ steps.num_cores.outputs.cores }}
-v
- name: Install
run: >
cmake --build build
--config Release
--target install
-v
amd64_linux_cmake_glpk:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v7