-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1.19 KB
/
vcpkg_debug.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This is a basic workflow to help you get started with Actions
name: CI
on:
workflow_dispatch:
jobs:
compile:
name: VCPKG DEBUG
runs-on: ubuntu-latest
container:
image: almalinux:8.9
steps:
- name: Setup dev environment
run: |
dnf update -y && dnf install -y epel-release && dnf config-manager --enable epel && dnf install -y yum-utils && dnf config-manager --set-enabled powertools
dnf install -y git gcc-toolset-13 cmake curl zip unzip tar scl-utils
echo "source /opt/rh/gcc-toolset-13/enable" >> ~/.bash_profile
echo "source ~/.bash_profile" >> ~/.bashrc
source ~/.bashrc
g++ -v
- name: Install vcpkg
env:
CC: gcc
CXX: g++
run: |
git clone https://github.com/microsoft/vcpkg.git
vcpkg/bootstrap-vcpkg.sh
- name: Install grpc
run: |
set +e
vcpkg/vcpkg install boost-cobalt
cat /__w/vcpkg_ci_debug/vcpkg_ci_debug/vcpkg/buildtrees/detect_compiler/config-x64-linux-rel-CMakeCache.txt.log
echo "************"
cat /__w/vcpkg_ci_debug/vcpkg_ci_debug/vcpkg/buildtrees/detect_compiler/config-x64-linux-rel-out.log