Skip to content

Commit e4914cf

Browse files
authored
fixes the weekly regression test (#1208)
* fixes weekly tests * try to install objdump * fixes minor bug * try to find objdump * find objdump * removes matrix.os * fixes small bug * uploads artifacts * fixes bug * runs on schedule
1 parent b9dde97 commit e4914cf

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

.github/workflows/weekly-regress.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,28 @@ jobs:
99
build:
1010
strategy:
1111
matrix:
12-
os:
13-
- ubuntu-latest
14-
- macos-latest
1512
ocaml-version:
1613
- 4.09.1
1714
- 4.08.1
1815
- 4.07.1
1916

20-
runs-on: ${{ matrix.os }}
17+
runs-on: ubuntu-latest
2118

2219
env:
2320
OPAMJOBS: 2
2421
OPAMRETRES: 8
2522

2623
steps:
24+
2725
- name: Use OCaml ${{ matrix.ocaml-version }}
2826
uses: avsm/setup-ocaml@v1
2927
with:
3028
ocaml-version: ${{ matrix.ocaml-version }}
3129

32-
- name: Configure Homebrew LLVM
33-
if: matrix.os == 'macos-latest'
34-
run: echo '::set-env name=LLVM_CONFIG::/usr/local/opt/llvm@9/bin/llvm-config'
35-
3630
- name: Install System Dependencies
3731
run: opam depext -y bap
3832

3933
- name: Cleanup the Caches
40-
if: matrix.os == 'ubuntu-latest'
4134
run: sudo apt clean --yes
4235

4336
- name: Build and Install BAP
@@ -48,37 +41,30 @@ jobs:
4841
with:
4942
submodules: true
5043
repository: BinaryAnalysisPlatform/bap
44+
ref: v2.1.0
5145

5246
- name: Install Extra System Dependencies
53-
run: |
54-
opam pin add bap . -n
55-
opam depext -u bap
47+
run: sudo apt-get install dejagnu --yes
5648

5749
- name: Run Functional Tests
5850
run: opam exec -- make check
5951

6052
- uses: actions/upload-artifact@v2
6153
if: ${{ always() }}
6254
with:
63-
name: opam-log-${{ matrix.os }}-${{ matrix.ocaml-version }}
55+
name: opam-log-${{ matrix.ocaml-version }}
6456
path: ~/.opam/log
6557

6658
- uses: actions/upload-artifact@v2
6759
if: ${{ always() }}
6860
with:
69-
name: bap-log-${{ matrix.os }}-${{ matrix.ocaml-version }}
61+
name: bap-log-${{ matrix.ocaml-version }}
7062
path: ~/.local/state/bap
7163

7264
- uses: actions/upload-artifact@v2
7365
if: ${{ always() }}
7466
with:
75-
name: unit-tests-log-${{ matrix.os }}-${{ matrix.ocaml-version }}
76-
path: _build/oUnit-*.log
77-
78-
- uses: actions/upload-artifact@v2
79-
if: ${{ always() }}
80-
with:
81-
name: fun-tests-log-${{ matrix.os }}-${{ matrix.ocaml-version }}
67+
name: fun-tests-log-${{ matrix.ocaml-version }}
8268
path: |
8369
testsuite/*.log
8470
testsuite/logs

0 commit comments

Comments
 (0)