Skip to content

Commit dd36573

Browse files
author
hbagheri
committed
Merge with latest
1 parent 9356ff2 commit dd36573

File tree

19 files changed

+2941
-0
lines changed

19 files changed

+2941
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: action-dispatch
2+
3+
on:
4+
workflow_dispatch:
5+
# push:
6+
# branches:
7+
# - '*'
8+
# pull_request:
9+
# branches:
10+
# - '*'
11+
12+
run-name: ${{ github.actor }} is testing out Actions 🚀
13+
14+
jobs:
15+
trigger:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Generate token from GitHub App
19+
id: generate-token
20+
uses: actions/create-github-app-token@v1
21+
with:
22+
app-id: ${{ secrets.APP_ID }}
23+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
24+
owner: ERGO-Code
25+
repositories: tests
26+
27+
- name: Trigger the automated test in another repo
28+
uses: peter-evans/repository-dispatch@v4
29+
with:
30+
token: ${{ steps.generate-token.outputs.token }}
31+
repository: ERGO-Code/tests
32+
event-type: highs-mip-tests
33+
client-payload: |
34+
{
35+
"repository": "${{ github.repository }}",
36+
"ref": "${{ github.ref }}",
37+
"sha": "${{ github.sha }}"
38+
}
39+
40+
- name: my-step
41+
run: echo "${{ github.actor }} Hello automations!"
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
name: action-sanitizers-bazel
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
asan:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest]
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: bazelbuild/setup-bazelisk@v3
16+
17+
- name: Bazel clean
18+
run: bazel clean
19+
20+
- name: Bazel build
21+
run: bazel build -c dbg --config=asan //...
22+
23+
- name: Bazel test
24+
run: bazel test -c dbg --config=asan --runs_per_test 3000 //...
25+
26+
# - name: Upload bazel-testlogs
27+
# uses: actions/upload-artifact@v4
28+
# with:
29+
# name: bazel-testlogs-asan
30+
# path: bazel-testlogs/
31+
32+
tsan:
33+
runs-on: ${{ matrix.os }}
34+
strategy:
35+
matrix:
36+
os: [ubuntu-latest]
37+
38+
steps:
39+
- uses: actions/checkout@v4
40+
41+
- uses: bazelbuild/setup-bazelisk@v3
42+
43+
- name: Bazel clean
44+
run: bazel clean
45+
46+
- name: Bazel build
47+
run: bazel build -c dbg --config=tsan //...
48+
49+
- name: Bazel test
50+
run: bazel test -c dbg --config=tsan --runs_per_test 3000 //...
51+
52+
# - name: Upload bazel-testlogs
53+
# uses: actions/upload-artifact@v4
54+
# with:
55+
# name: bazel-testlogs-tsan
56+
# path: bazel-testlogs/
57+
58+
lsan:
59+
runs-on: ${{ matrix.os }}
60+
strategy:
61+
matrix:
62+
os: [ubuntu-latest]
63+
64+
steps:
65+
- uses: actions/checkout@v4
66+
67+
- uses: bazelbuild/setup-bazelisk@v3
68+
69+
- name: Bazel clean
70+
run: bazel clean
71+
72+
- name: Bazel build
73+
run: bazel build -c dbg --config=lsan //...
74+
75+
- name: Bazel test
76+
run: bazel test -c dbg --config=lsan --runs_per_test 3000 //...
77+
78+
# - name: Upload bazel-testlogs
79+
# uses: actions/upload-artifact@v4
80+
# with:
81+
# name: bazel-testlogs-lsan
82+
# path: bazel-testlogs/
83+
84+
ubsan:
85+
runs-on: ${{ matrix.os }}
86+
strategy:
87+
matrix:
88+
os: [ubuntu-latest]
89+
90+
steps:
91+
- uses: actions/checkout@v4
92+
93+
- uses: bazelbuild/setup-bazelisk@v3
94+
95+
- name: Bazel clean
96+
run: bazel clean
97+
98+
- name: Bazel build
99+
run: bazel build -c dbg --config=ubsan //...
100+
101+
- name: Bazel test
102+
run: bazel test -c dbg --config=ubsan --runs_per_test 3000 //...
103+
104+
# - name: Upload bazel-testlogs
105+
# uses: actions/upload-artifact@v4
106+
# with:
107+
# name: bazel-testlogs-ubsan
108+
# path: bazel-testlogs/

0 commit comments

Comments
 (0)