From 40bdf00a33aaec894f19186b66e6eca3dd1794c8 Mon Sep 17 00:00:00 2001 From: Peter Rindal Date: Fri, 23 Aug 2024 16:27:23 -0700 Subject: [PATCH] ci fix --- .github/workflows/build-test.yml | 98 ++++++++++++++++---------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 1b95b85..50a865b 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -84,64 +84,64 @@ jobs: rm -rf out/ cd ../.. - # # This workflow contains a single job called "build" - # build-osx: - # # The type of runner that the job will run on - # runs-on: macos-14 + # This workflow contains a single job called "build" + build-osx: + # The type of runner that the job will run on + runs-on: macos-14 - # # Steps represent a sequence of tasks that will be executed as part of the job - # steps: - # # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - # - uses: actions/checkout@v2 - # with: - # submodules: recursive + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + with: + submodules: recursive - # # Runs a set of commands using the runners shell - # - name: build cryptoTools - # run: python3 build.py --par=4 -D ENABLE_RELIC=ON -D ENABLE_BOOST=OFF -D ENABLE_SSE=OFF + # Runs a set of commands using the runners shell + - name: build cryptoTools + run: python3 build.py --par=4 -D ENABLE_RELIC=ON -D ENABLE_BOOST=OFF -D ENABLE_SSE=OFF - # - name: unit tests - # run: ./out/build/osx/frontend_cryptoTools/frontend_cryptoTools -u + - name: unit tests + run: ./out/build/osx/frontend_cryptoTools/frontend_cryptoTools -u - # - name: find source tree - # run: | - # cd tests_cryptoTools/cmakeTests - # cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release -D CMAKE_PREFIX_PATH=../../ - # cmake --build out/ - # ./out/main - # rm -rf out/ - # cd ../.. + - name: find source tree + run: | + cd tests_cryptoTools/cmakeTests + cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release -D CMAKE_PREFIX_PATH=../../ + cmake --build out/ + ./out/main + rm -rf out/ + cd ../.. - # - name: hint test - # run: | - # cd tests_cryptoTools/cmakeTests - # cmake -S . -B out/ -D CRYPTOTOOLS_HINT=../.. - # cmake --build out/ - # ./out/main - # rm -rf out/ - # cd ../.. + - name: hint test + run: | + cd tests_cryptoTools/cmakeTests + cmake -S . -B out/ -D CRYPTOTOOLS_HINT=../.. + cmake --build out/ + ./out/main + rm -rf out/ + cd ../.. - # - name: install prefix test - # run: | - # python3 build.py --install=~/install - # cd tests_cryptoTools/cmakeTests - # cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=~/install - # cmake --build out/ - # ./out/main - # rm -rf out/ - # cd ../.. + - name: install prefix test + run: | + python3 build.py --install=~/install + cd tests_cryptoTools/cmakeTests + cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=~/install + cmake --build out/ + ./out/main + rm -rf out/ + cd ../.. - # - name: install test - # run: | - # python3 build.py --install --sudo - # cd tests_cryptoTools/cmakeTests - # cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release - # cmake --build out/ - # ./out/main - # rm -rf out/ - # cd ../.. + - name: install test + run: | + python3 build.py --install --sudo + cd tests_cryptoTools/cmakeTests + cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release + cmake --build out/ + ./out/main + rm -rf out/ + cd ../.. # # This workflow contains a single job called "build"