Skip to content

Commit

Permalink
Merge branch 'intel:main' into pr/interface_kill
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangquanliu authored Sep 11, 2023
2 parents 3806f81 + af772c8 commit 1504a90
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Small TCB builds

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Prepare alpine dockerfile
run: echo -e "From rust:alpine\nRUN apk add musl-dev openssl-dev openssl-libs-static protobuf-dev git && git clone https://github.com/intel/ACON.git\nRUN cd ACON/acond && CARGO_BUILD_RUSTFLAGS=-Crelocation-model=static cargo build --release --target x86_64-unknown-linux-musl && cargo clean && CARGO_BUILD_RUSTFLAGS=-Ctarget-feature=-crt-static cargo build --release" >> Dockerfile
- name: Alpine build
run: docker build --progress=plain -t acond .
22 changes: 22 additions & 0 deletions .github/workflows/slim.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Debian Builds

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Prepare Dockerfile
run: echo -e "From rust:slim\nRUN apt update -y && apt upgrade -y && apt install -y pkg-config libssl-dev git musl-tools protobuf-compiler libprotobuf-dev\nRUN git clone https://github.com/intel/ACON.git && cd ACON/acond && CARGO_BUILD_RUSTFLAGS=-Ctarget-feature=-crt-static cargo build --release" >> Dockerfile
- name: Debian builds
run: docker build --progress=plain -t acond .

0 comments on commit 1504a90

Please sign in to comment.