-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from itzmeanjan/use-std-copy
Switch to using `std::copy`
- Loading branch information
Showing
6 changed files
with
212 additions
and
621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# Collects inspiration from https://github.com/itzmeanjan/dilithium/blob/15c2280f9448b3631a571ee2f33f8b0c695d4788/.github/workflows/test_ci.yml | ||
name: Test SHA3 Hash and Extendable Output Functions using CI | ||
|
||
on: | ||
|
@@ -8,21 +9,22 @@ on: | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-22.04 | ||
runs-on: ${{matrix.os}} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Compiler | ||
run: | | ||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 | ||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9 | ||
- name: Get CMake | ||
run: sudo apt-get install cmake | ||
# From https://github.com/marketplace/actions/actions-setup-cmake | ||
- name: Setup CMake | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: 'latest' | ||
- name: Setup Google-Test | ||
run: | | ||
pushd ~ | ||
git clone https://github.com/google/googletest.git -b v1.13.0 | ||
git clone https://github.com/google/googletest.git -b v1.14.0 | ||
pushd googletest | ||
mkdir build | ||
pushd build | ||
|
@@ -32,7 +34,5 @@ jobs: | |
popd | ||
popd | ||
popd | ||
- name: Execute Tests | ||
run: make | ||
- name: Cleanup | ||
run: make clean | ||
- name: Execute Tests on ${{matrix.os}} | ||
run: make -j |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.