Skip to content

Commit 5da3a72

Browse files
committed
Revert
1 parent 5bcd9db commit 5da3a72

File tree

9 files changed

+78
-708
lines changed

9 files changed

+78
-708
lines changed

.github/workflows/build-bazel.yml

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,33 @@
11
name: build-bazel
2-
on:
3-
push:
4-
branches:
5-
- latest
6-
- master
7-
pull_request:
8-
types: [opened, synchronize, reopened]
2+
3+
on: [push, pull_request]
4+
95
jobs:
106
bazel:
11-
runs-on: macos-latest
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [macos-latest]
11+
1212
steps:
1313
- uses: actions/checkout@v4
14+
1415
- uses: bazelbuild/setup-bazelisk@v3
15-
- run: bazel clean
16-
- run: bazel build //...
17-
- run: bazel test --test_output=all //...
18-
- run: ./bazel-bin/call-highs-example
19-
- uses: actions/upload-artifact@v4
16+
17+
- name: bazel clean
18+
run: bazel clean
19+
20+
- name: build bazel
21+
run: bazel build //...
22+
23+
- name: test all
24+
run: bazel test --test_output=all //...
25+
26+
- name: test example
27+
run: ./bazel-bin/call-highs-example
28+
29+
- name: Upload bazel-testlogs
30+
uses: actions/upload-artifact@v4
2031
with:
2132
name: bazel-testlogs
22-
path: bazel-testlogs/
33+
path: bazel-testlogs/

.github/workflows/build-clang.yml

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,41 @@
11
name: build-clang
2-
on:
3-
push:
4-
branches:
5-
- latest
6-
- master
7-
pull_request:
8-
types: [opened, synchronize, reopened]
2+
3+
on: [push, pull_request]
4+
95
jobs:
106
debug:
11-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest]
11+
1212
steps:
1313
- uses: actions/checkout@v4
14-
- run: |
15-
cmake -E make_directory ${{runner.workspace}}/build
16-
cd build
17-
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DFAST_BUILD=OFF
14+
15+
- name: Create Build Environment
16+
run: cmake -E make_directory ${{runner.workspace}}/build
17+
18+
- name: Configure CMake
19+
shell: bash
20+
working-directory: ${{runner.workspace}}/build
21+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DFAST_BUILD=OFF
22+
23+
- name: Build
24+
working-directory: ${{runner.workspace}}/build
25+
shell: bash
26+
# Execute the build. You can specify a specific target with "--target <NAME>"
27+
run: |
1828
export CC=clang
1929
export CC=clang++
2030
cmake --build . --parallel --config Debug
21-
ctest --parallel --timeout 300 --output-on-failure
31+
32+
- name: Test
33+
working-directory: ${{runner.workspace}}/build
34+
shell: bash
35+
# Execute tests defined by the CMake configuration.
36+
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
37+
run: ctest --parallel --timeout 300 --output-on-failure
38+
2239
release:
2340
runs-on: ${{ matrix.os }}
2441
strategy:
@@ -83,7 +100,7 @@ jobs:
83100
shell: bash
84101
# Execute tests defined by the CMake configuration.
85102
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
86-
run: ctest --parallel --timeout 300 --output-on-failure
103+
run: ctest --parallel --timeout 300 --output-on-failure
87104

88105
release64:
89106
runs-on: ${{ matrix.os }}

.github/workflows/hipo-macos.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)