Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test runner #17

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: test-docker
on: push
jobs:
build-with-llvm:
runs-on: self-hosted
container:
#image: registry:443/clang-debian12:staging
image: clang-debian12:staging
# credentials:
# username: ${{ secrets.REGISTRY_USERNAME }}
# password: ${{ secrets.REGISTRY_PASSWORD }}
steps:
- name: Checkout plugin sources
uses: actions/checkout@v1
with:
path: src/ollvm
- name: Test bash
run: bash -c "pwd"
- name: Compile plugin with LLVM 16
run: pwd
# cmake \
# -S src/llvm-16 \
# -B build/llvm-16 \
# -G Ninja \
# -D CMAKE_VERBOSE_MAKEFILE=On \
# -D LLVM_DIR=/usr/local/clang-install/lib/cmake \
# -D BUILD_DUMMY=On
# cmake --build build/llvm-16
Loading