Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
alan23273850 committed Sep 6, 2024
1 parent b051ac3 commit eecfd27
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,33 +69,33 @@ jobs:
runs-on: macos-latest
steps:
- run: brew install gcc make cmake boost
- run: ls /
- run: ls /opt/homebrew/lib/
- run: ls /opt/homebrew/opt/
# - run: git clone https://github.com/alan23273850/AutoQ.git
# - run: cd AutoQ && git checkout ${{ github.ref_name }} && mkdir build && make debug
# # - run: cp /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.74.0 /home/runner/work/AutoQ/AutoQ/AutoQ/build/unit_tests/
# - run: ls /
# - run: ls /opt/homebrew/lib/
# - run: ls /opt/homebrew/opt/
- run: git clone https://github.com/alan23273850/AutoQ.git
- run: cd AutoQ && git checkout ${{ github.ref_name }} && mkdir build && make debug
- run: cp /opt/homebrew/lib/libboost_unit_test_framework.a /home/runner/work/AutoQ/AutoQ/AutoQ/build/unit_tests/
# # - run: cp /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.74.0 /home/runner/work/AutoQ/AutoQ/AutoQ/build/unit_tests/
# # - run: cp /home/runner/work/AutoQ/AutoQ/AutoQ/libz3.so.4.12 /home/runner/work/AutoQ/AutoQ/AutoQ/build/unit_tests/
# - uses: actions/[email protected]
# with:
# name: AutoQ-debug-macos
# path: |
# AutoQ/Makefile
# AutoQ/build/
# AutoQ/unit_tests/
# AutoQ/benchmarks/_all/
# test-debug-macos:
# needs: build-debug-macos
# runs-on: macos-latest
# steps:
# - uses: actions/download-artifact@v4
# with:
# name: AutoQ-debug-macos
# path: AutoQ/
# # - run: pwd
# # - run: ls -a
# - run: cd AutoQ/build/unit_tests/ && chmod +x ./explicit_tree_aut_test && LD_LIBRARY_PATH=/:$LD_LIBRARY_PATH ./explicit_tree_aut_test
- uses: actions/[email protected]
with:
name: AutoQ-debug-macos
path: |
AutoQ/Makefile
AutoQ/build/
AutoQ/unit_tests/
AutoQ/benchmarks/_all/
test-debug-macos:
needs: build-debug-macos
runs-on: macos-latest
steps:
- uses: actions/download-artifact@v4
with:
name: AutoQ-debug-macos
path: AutoQ/
# - run: pwd
# - run: ls -a
- run: cd AutoQ/build/unit_tests/ && chmod +x ./explicit_tree_aut_test && LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./explicit_tree_aut_test
# build-release-macos:
# runs-on: macos-latest
# steps:
Expand Down Expand Up @@ -123,4 +123,4 @@ jobs:
# path: AutoQ/
# # - run: pwd
# # - run: ls -a
# - run: cd AutoQ/build/unit_tests/ && chmod +x ./explicit_tree_aut_test && LD_LIBRARY_PATH=/:$LD_LIBRARY_PATH ./explicit_tree_aut_test
# - run: cd AutoQ/build/unit_tests/ && chmod +x ./explicit_tree_aut_test && LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./explicit_tree_aut_test

0 comments on commit eecfd27

Please sign in to comment.