Skip to content

Commit

Permalink
[WIP] Add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ggeorgakoudis committed Nov 14, 2024
1 parent e109b0a commit bda284c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci-build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy conda pkgs base

on:
pull_request:

jobs:
build-and-test:
name: proteus ${{ matrix.os }} LLVM ${{ matrix.llvm }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
llvm: [17.0.5]
steps:
- uses: actions/checkout@v4
- name: Setup conda
uses: conda-incubator/setup-miniconda@v3
- name: Create environment
run: |
conda create -y -n proteus -c conda-forge \
clang=${{ matrix.llvm }} \
clangxx=${{ matrix.llvm }} \
llvmdev=${{ matrix.llvm }} \
lit=${{ matrix.llvm }}
conda activate proteus
python -m pip install filecheck
- name: Build and test
run: |
conda activate proteus
mkdir -p build
pushd build
cmake .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
make -j
make test
popd

0 comments on commit bda284c

Please sign in to comment.