Skip to content

Commit

Permalink
add llvm build test
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 committed Nov 20, 2023
1 parent e80b485 commit 046972a
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-llvm-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Linux Build CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-20.04
strategy:
matrix:
configuration: ['release']
platform: ['x64']
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
fetch-depth: '0'
- name: configure
run: |
mkdir -p build
cmake -S . -B build -G "Ninja Multi-Config" -DSLANG_USE_BINARY_SLANG_LLVM=0 -DSLANG_USE_SYSTEM_LLVM=0
env:
CC: gcc-10
CXX: g++-10
- name: build
run: |
cmake --build build --config Release -j --target slang-llvm
- uses: actions/upload-artifact@v3
with:
name: slang-llvm-${{matrix.configuration}}-${{matrix.platform}}
path: |
build/Release/lib/libslang-llvm.so

0 comments on commit 046972a

Please sign in to comment.