-
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.
- Loading branch information
1 parent
e109b0a
commit bda284c
Showing
1 changed file
with
35 additions
and
0 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 |
---|---|---|
@@ -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 |