-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 983 Bytes
/
Copy pathCI-Linux.yml
File metadata and controls
40 lines (38 loc) · 983 Bytes
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
38
39
40
name: CI-Linux
on:
push:
branches:
- main
- release/**
- stable
pull_request:
branches:
- main
- release/**
- codex/**
jobs:
Tests-Linux:
runs-on: ubuntu-latest
strategy:
matrix:
std: [11, 17]
steps:
- uses: actions/checkout@v3
- name: Build and Run Tests
run: |
sudo apt-get update && sudo apt-get install -y cmake
CXX_STANDARD=${{ matrix.std }} ./scripts/run_tests.sh
Tests-Linux-vcpkg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install cmake and vcpkg
run: |
sudo apt-get update && sudo apt-get install -y cmake
git clone https://github.com/microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh -disableMetrics
- name: Build and Run Tests with vcpkg
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
run: |
CXX_STANDARD=17 ./scripts/run_tests.sh