Skip to content

Commit

Permalink
Comment out
Browse files Browse the repository at this point in the history
  • Loading branch information
czgdp1807 committed Mar 22, 2024
1 parent 6664dbd commit a086777
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,50 +39,50 @@ jobs:
./build.sh
export PATH=$CONDA_PREFIX/bin:$PATH
- name: Print runtime library directory
shell: bash -l {0}
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
run: |
lc --get-rtl-header-dir
lc --get-rtl-dir
# - name: Print runtime library directory
# shell: bash -l {0}
# if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
# run: |
# lc --get-rtl-header-dir
# lc --get-rtl-dir

- name: Test (Linux / macOS)
shell: bash -l -e {0}
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
run: |
export CPATH=$CONDA_PREFIX/include:$CPATH
git clone https://github.com/czgdp1807/mdspan
cd mdspan
cmake . -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX
make install
cd ..
lc --show-clang-ast tests/test.cpp
lc --show-clang-ast --parse-all-comments tests/parse_comments_01.cpp > parse_comments_01.stdout
grep "TextComment" parse_comments_01.stdout
rm parse_comments_01.stdout
lc examples/expr2.c --show-asr
./run_tests.py
# - name: Test (Linux / macOS)
# shell: bash -l -e {0}
# if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
# run: |
# export CPATH=$CONDA_PREFIX/include:$CPATH
# git clone https://github.com/czgdp1807/mdspan
# cd mdspan
# cmake . -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX
# make install
# cd ..
# lc --show-clang-ast tests/test.cpp
# lc --show-clang-ast --parse-all-comments tests/parse_comments_01.cpp > parse_comments_01.stdout
# grep "TextComment" parse_comments_01.stdout
# rm parse_comments_01.stdout
# lc examples/expr2.c --show-asr
# ./run_tests.py

- name: Test2 (Linux / macOS)
shell: bash -l -e {0}
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
run: |
which clang
# - name: Test2 (Linux / macOS)
# shell: bash -l -e {0}
# if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
# run: |
# which clang

# Test generating object files
lc examples/expr2.c --backend c -o c_o -c
lc examples/expr2.c --backend llvm -o llvm_o -c
ls -1
cd examples
lc expr2.c
# # Test generating object files
# lc examples/expr2.c --backend c -o c_o -c
# lc examples/expr2.c --backend llvm -o llvm_o -c
# ls -1
# cd examples
# lc expr2.c

- name: Test3 (Linux / macOS)
shell: bash -l -e {0}
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
run: |
export CPATH=$CONDA_PREFIX/include:$CPATH
./integration_tests/run_tests.py -b gcc llvm wasm c
./integration_tests/run_tests.py -b gcc llvm wasm c -f
# - name: Test3 (Linux / macOS)
# shell: bash -l -e {0}
# if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
# run: |
# export CPATH=$CONDA_PREFIX/include:$CPATH
# ./integration_tests/run_tests.py -b gcc llvm wasm c
# ./integration_tests/run_tests.py -b gcc llvm wasm c -f

- name: Test4 (Linux)
shell: bash -l -e {0}
Expand Down

0 comments on commit a086777

Please sign in to comment.