Skip to content

Commit 38ec376

Browse files
committed
Fix github action (now it should run before merging).
1 parent ce7fbe5 commit 38ec376

1 file changed

Lines changed: 6 additions & 37 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -30,48 +30,17 @@ jobs:
3030
steps:
3131
- name: Install container prerequisites
3232
if: matrix.container
33-
run: apt-get update && apt-get install -y git
33+
run: apt-get update && apt-get install -y git sudo
3434

3535
- uses: actions/checkout@v4
3636

37-
- name: Install dependencies
38-
run: |
39-
apt-get update
40-
apt-get install -y \
41-
autoconf \
42-
g++ \
43-
make \
44-
libboost-regex-dev \
45-
libgmp-dev
46-
47-
- name: Bootstrap and configure
48-
run: |
49-
aclocal -I m4
50-
autoconf
51-
./configure --disable-parsergeneration
52-
53-
- name: Build
54-
run: make build
55-
56-
- name: Test
57-
run: make check
58-
59-
parser-generation:
60-
runs-on: ubuntu-24.04
61-
62-
name: Parser Generation
63-
64-
env:
65-
DEBIAN_FRONTEND: noninteractive
66-
67-
steps:
68-
- uses: actions/checkout@v4
69-
7037
- name: Install dependencies
7138
run: |
7239
sudo apt-get update
7340
sudo apt-get install -y \
7441
autoconf \
42+
g++ \
43+
make \
7544
libboost-regex-dev \
7645
libgmp-dev \
7746
bisonc++ \
@@ -83,11 +52,11 @@ jobs:
8352
autoconf
8453
./configure
8554
86-
- name: Regenerate parser
55+
- name: Generate parser
8756
run: make dist
8857

89-
- name: Build with regenerated parser
58+
- name: Build
9059
run: make build
9160

92-
- name: Test with regenerated parser
61+
- name: Test
9362
run: make check

0 commit comments

Comments
 (0)