forked from confidential-containers/guest-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
features: support native signature client
Signed-off-by: haokun.xing <haokun.xin@intel.com>
- Loading branch information
1 parent
3aca6fd
commit 6b3fca1
Showing
6 changed files
with
148 additions
and
25 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
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,60 @@ | ||
name: image-rs eaa_kbc build | ||
on: | ||
pull_request: | ||
paths: | ||
- 'signature/**' | ||
|
||
jobs: | ||
ci: | ||
if: github.event_name == 'pull_request' || github.event_name == 'push' | ||
name: Check | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
rust: | ||
- stable | ||
- beta | ||
- nightly | ||
# Run all steps in the compilation testing containers | ||
container: | ||
image: runetest/compilation-testing:ubuntu18.04 | ||
env: | ||
LD_LIBRARY_PATH: /usr/local/lib/rats-tls | ||
|
||
steps: | ||
- name: Update cargo home | ||
run: | | ||
apt-get update && apt-get install -y cargo | ||
cp -r /root/.cargo /github/home/.cargo | ||
- name: Install Rust toolchain (${{ matrix.rust }}) | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.rust }} | ||
override: true | ||
components: rustfmt, clippy | ||
|
||
- name: Install nettle-sys building dependence | ||
run: | | ||
apt-get install -y clang llvm pkg-config nettle-dev protobuf-compiler libprotobuf-dev | ||
- name: Build and install rats-tls | ||
run: | | ||
apt-get install -y libcurl4-openssl-dev | ||
git clone https://github.com/inclavare-containers/rats-tls | ||
cd rats-tls | ||
cmake -DBUILD_SAMPLES=on -H. -Bbuild | ||
make -C build install | ||
- name: Code checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Run cargo build | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --features occlum_feature |
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
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
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
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