Skip to content

Commit

Permalink
Delete runs-on centos
Browse files Browse the repository at this point in the history
Runner of centos is not supported in github.com.

https://docs.github.com/en/actions/using-github-hosted-runners
/about-github-hosted-runners/about-github-hosted-runners#
standard-github-hosted-runners-for-public-repositories

Signed-off-by: Min Xu <min.m.xu@intel.com>
  • Loading branch information
mxu9 authored and jyao1 committed Mar 29, 2024
1 parent 500d87a commit bd9849e
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
name: Build binary

jobs:
build_release_on_ubuntu:
name: Build binary on ubuntu
build:
name: Build binary
runs-on: ubuntu-latest
timeout-minutes: 30

Expand All @@ -30,24 +30,4 @@ jobs:
cd teeio-validator/build/
cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=Debug -DCRYPTO=mbedtls ..
make -j
build_release_on_centos:
name: Build binary on centos
runs-on: centos-latest
timeout-minutes: 30

steps:
- name: Checkout Sources
uses: actions/checkout@v4

- name: Initialize and update submodules
run: git submodule update --init --recursive

- name: Prepare build directory
run: mkdir -p teeio-validator/build

- name: Build
run: |
cd teeio-validator/build/
cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=Debug -DCRYPTO=mbedtls ..
make -j

0 comments on commit bd9849e

Please sign in to comment.