Skip to content

Commit 434ac71

Browse files
authored
Merge pull request #10 from LBjerke/main
Updating Ubuntu CI to build Botan from source
2 parents 99de68c + 40b916e commit 434ac71

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/main-ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,20 @@ jobs:
4545
steps:
4646
- name: Checkout base repo
4747
uses: actions/checkout@v4
48+
- name: Download Botan 3.2
49+
uses: actions/checkout@v4
50+
if: ${{ matrix.os == 'ubuntu-latest' }}
51+
with:
52+
repository: randombit/botan
53+
path: ./.botan-work
54+
ref: "3.2.0"
4855
- name: Install Botan for Linux
4956
if: ${{ matrix.os == 'ubuntu-latest' }}
5057
run: |
5158
sudo apt-get -y update
5259
sudo apt-get -y install clang build-essential curl libffi-dev libffi8ubuntu1 libgmp-dev libgmp10 libncurses-dev
53-
sudo apt-get -y install pkg-config botan
60+
sudo apt-get -y install pkg-config python3
61+
cd ./.botan-work && sudo python3 ./configure.py && sudo make && sudo make check && sudo make install
5462
- name: Install Botan for MacOS
5563
if: ${{ matrix.os == 'macos-latest' }}
5664
run: |

0 commit comments

Comments
 (0)