-
Notifications
You must be signed in to change notification settings - Fork 200
126 lines (125 loc) · 4.58 KB
/
Copy pathintegrations.yml
File metadata and controls
126 lines (125 loc) · 4.58 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
name: Integration tests
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
env:
CC: gcc
permissions:
contents: read
jobs:
libssh2:
if: github.repository_owner == 'aws'
runs-on: ubuntu-latest
steps:
- name: Install OS Dependencies
run: |
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
sudo apt-get -y --no-install-recommends install cmake gcc ninja-build golang make
- uses: actions/checkout@v7
# Pinned to a libssh2 release for a stable required check. If you bump
# this version, revisit the openssh_server Dockerfile patch in
# run_libssh2_integration.sh: the patch is keyed to the floating
# `debian:testing-slim` base image used by current releases and may be a
# no-op (or need updating) for a different release's test fixture.
- name: Run libssh2 integration tests
run: |
./tests/ci/integration/run_libssh2_integration.sh 'libssh2-1.11.1'
# Tracks libssh2 main to catch upstream breakages early. Non-blocking: main
# can break against AWS-LC for reasons outside our control (e.g. upstream
# -Werror changes), so this job is allowed to fail without failing CI.
libssh2-main:
if: github.repository_owner == 'aws'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Install OS Dependencies
run: |
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
sudo apt-get -y --no-install-recommends install cmake gcc ninja-build golang make
- uses: actions/checkout@v7
- name: Run libssh2 integration tests (main)
run: |
./tests/ci/integration/run_libssh2_integration.sh
libevent:
if: github.repository_owner == 'aws'
runs-on: ubuntu-latest
steps:
- name: Install OS Dependencies
run: |
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
sudo apt-get -y --no-install-recommends install \
cmake gcc ninja-build golang
- uses: actions/checkout@v7
- name: Run libevent build
run: |
./tests/ci/integration/run_libevent_integration.sh
librdkafka:
if: github.repository_owner == 'aws'
runs-on: ubuntu-latest
steps:
- name: Install OS Dependencies
run: |
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
sudo apt-get -y --no-install-recommends install \
cmake gcc ninja-build golang
- uses: actions/checkout@v7
- name: Run librdkafka build
run: |
./tests/ci/integration/run_librdkafka_integration.sh
socat:
if: github.repository_owner == 'aws'
runs-on: ubuntu-latest
env:
SHELL: /usr/bin/bash
steps:
- name: Install OS Dependencies
run: |
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
sudo apt-get -y --no-install-recommends install cmake gcc ninja-build golang make autoconf pkg-config openssl
- uses: actions/checkout@v7
- name: Run socat integration test
run: |
./tests/ci/integration/run_socat_integration.sh
rust-openssl:
if: github.repository_owner == 'aws'
runs-on: ubuntu-latest
steps:
- name: Checkout aws-lc
uses: actions/checkout@v7
with:
path: aws-lc
- name: Checkout rust-openssl
uses: actions/checkout@v7
with:
repository: sfackler/rust-openssl
path: rust-openssl
- uses: dtolnay/rust-toolchain@stable
id: toolchain
- name: Set Rust toolchain override
run: rustup override set ${{ steps.toolchain.outputs.name }}
- name: Install bindgen-cli
run: cargo install --locked bindgen-cli
- name: Run rust-openssl integration tests
env:
RUST_OPENSSL_SRC_DIR: "${{ github.workspace }}/rust-openssl"
run: |
pushd "${GITHUB_WORKSPACE}/aws-lc"
./tests/ci/integration/run_rust_openssl_integration.sh
apache-httpd:
if: github.repository_owner == 'aws'
runs-on: ubuntu-latest
name: Apache httpd
steps:
- name: Install OS Dependencies
run: |
sudo apt update
sudo apt install -y libpcre2-dev libnghttp2-dev nghttp2-client zlib1g-dev libtool-bin libxml2-dev pebble python3-venv
- uses: actions/checkout@v7
- name: Build AWS-LC, build httpd, run tests
run: |
./tests/ci/integration/run_httpd_integration.sh '2.4.65'