mirror of
https://github.com/itzmeanjan/ml-kem.git
synced 2026-01-10 08:07:56 -05:00
update github actions workflow script so that testing using CI works as expected
Signed-off-by: Anjan Roy <hello@itzmeanjan.in>
This commit is contained in:
17
.github/workflows/test_ci.yml
vendored
17
.github/workflows/test_ci.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -19,6 +19,21 @@ jobs:
|
||||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9
|
||||
- name: Fetch Dependency
|
||||
run: git submodule update --init
|
||||
- name: Get CMake
|
||||
run: sudo apt-get install cmake
|
||||
- name: Setup Google-Test
|
||||
run: |
|
||||
pushd ~
|
||||
git clone https://github.com/google/googletest.git -b v1.13.0
|
||||
pushd googletest
|
||||
mkdir build
|
||||
pushd build
|
||||
cmake .. -DBUILD_GMOCK=OFF
|
||||
make
|
||||
sudo make install
|
||||
popd
|
||||
popd
|
||||
popd
|
||||
- name: Execute Tests
|
||||
run: make
|
||||
- name: Cleanup
|
||||
|
||||
Reference in New Issue
Block a user