Skip to content

Commit 400b618

Browse files
committed
upgrades to ubuntu-22.04 and adds ghidra installation script
1 parent 9338ae7 commit 400b618

17 files changed

Lines changed: 62 additions & 30 deletions

.github/workflows/alpine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- name: Checkout code
1212
uses: actions/checkout@v4

.github/workflows/archlinux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- name: Checkout code
1212
uses: actions/checkout@v4

.github/workflows/debian-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- name: Checkout code
1212
uses: actions/checkout@v4

.github/workflows/fedora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- name: Checkout code
1212
uses: actions/checkout@v4

.github/workflows/full.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# tests all packages, including bap-extra
2-
# it requires ghidra, so it works only on ubuntu-20.04
2+
# it requires ghidra, so it works only on ubuntu-22.04
33
name: full
44
run-name: Testing everything in ${{ github.ref }}
55

@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
env:
1313
BAP_LOG_DIR: $HOME/log
1414
OPAMRETRES: 8
@@ -17,14 +17,15 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v3
1919

20-
- name: Install Ghidra and Dejagnu
20+
- name: Install Dejagnu
2121
run: |
22-
sudo add-apt-repository ppa:ivg/ghidra -y
2322
sudo apt-get update -y
24-
sudo apt-get install libghidra-dev -y
25-
sudo apt-get install libghidra-data -y
2623
sudo apt-get install dejagnu -y
2724
25+
- name: Build and Install Ghidra
26+
run: |
27+
sudo sh ./tools/install-ghidra.sh
28+
2829
- name: Install OCaml
2930
uses: ocaml/setup-ocaml@v3
3031
with:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
check:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
1010

1111
env:
1212
OPAMJOBS: 2

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os:
11-
- ubuntu-20.04
11+
- ubuntu-22.04
1212
ocaml-compiler:
1313
- 4.08.x
1414
- 4.14.x
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/checkout@v4
3030

3131
- name: Prepare Ubuntu
32-
if: matrix.os == 'ubuntu-20.04'
32+
if: matrix.os == 'ubuntu-22.04'
3333
run: |
3434
sudo apt-get update -y
3535
sudo apt-get install dejagnu -y

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
os:
14-
- ubuntu-20.04
14+
- ubuntu-22.04
1515
ocaml-compiler:
1616
- 4.14.x
1717
- 4.08.x

.github/workflows/oasis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os:
11-
- ubuntu-20.04
11+
- ubuntu-22.04
1212
ocaml-compiler:
1313
- 4.14.x
1414

@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@v4
2929

3030
- name: Prepare Ubuntu
31-
if: matrix.os == 'ubuntu-20.04'
31+
if: matrix.os == 'ubuntu-22.04'
3232
run: |
3333
sudo apt-get update -y
3434
sudo apt-get install dejagnu -y

.github/workflows/opam.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- 4.14.x
1212
- 4.08.x
1313

14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-22.04
1515

1616
env:
1717
OPAMJOBS: 2
@@ -21,14 +21,15 @@ jobs:
2121
- name: Checkout code
2222
uses: actions/checkout@v4
2323

24-
- name: Install Ghidra and Dejagnu
24+
- name: Install Dejagnu
2525
run: |
26-
sudo add-apt-repository ppa:ivg/ghidra -y
2726
sudo apt-get update -y
28-
sudo apt-get install libghidra-dev -y
29-
sudo apt-get install libghidra-data -y
3027
sudo apt-get install dejagnu -y
3128
29+
- name: Build and Install Ghidra
30+
run: |
31+
sudo sh ./tools/install-ghidra.sh
32+
3233
- name: Install OCaml ${{ matrix.ocaml-compiler }}
3334
uses: ocaml/setup-ocaml@v3
3435
with:

0 commit comments

Comments
 (0)