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 new C-ACI pool #6653

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
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
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,22 @@ jobs:
# All other acceptably fast tests, which are now supported on Azure Linux.
./tests.sh --timeout 360 --output-on-failure -LE "benchmark|suite|unit"
shell: bash

build_caci:
name: "Experimental C-ACI CI"
runs-on: [self-hosted, 1ES.Pool=gha-caci-ne]

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: "Build Debug"
run: |
set -ex
git config --global --add safe.directory /__w/CCF/CCF
mkdir build
cd build
cmake -GNinja -DCOMPILE_TARGET=snp -DCMAKE_BUILD_TYPE=Debug ..
ninja
shell: bash
11 changes: 11 additions & 0 deletions docker/ccf_caci_ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM mcr.microsoft.com/azurelinux/base/core:3.0
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
RUN gpg --import /etc/pki/rpm-gpg/MICROSOFT-RPM-GPG-KEY
RUN tdnf -y update
RUN tdnf -y install ca-certificates git
RUN tdnf -y install wget tar dotnet-sdk-8.0
ENV RUNNER_ALLOW_RUNASROOT=true

COPY scripts/setup-ci.sh /tmp/setup-ci.sh
RUN chmod +x /tmp/setup-ci.sh
RUN /tmp/setup-ci.sh
Loading