This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Add openssl version 3 support #601
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OMS CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: OMSAgent Build & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout OMS-Agent-For-Linux Repo | |
uses: actions/checkout@v2 | |
with: | |
path: Main | |
submodules: true | |
- name: Checkout Build-OMS-Agent-for-Linux Repo | |
uses: actions/checkout@v2 | |
with: | |
repository: Microsoft/Build-OMS-Agent-for-Linux | |
path: Build-OMS-Agent-for-Linux | |
submodules: true | |
- name: Setup Repo | |
run: | | |
echo GITHUB_WORKSPACE=$GITHUB_WORKSPACE | |
ls -la | |
rm -rf Build-OMS-Agent-for-Linux/omsagent | |
mv $GITHUB_WORKSPACE/Main Build-OMS-Agent-for-Linux/omsagent | |
ls -la Build-OMS-Agent-for-Linux/ | |
- name: Pull docker image | |
run: docker pull narinem/oms-centos6-x64:3.2 | |
- name: Tests | |
run: docker run --rm -t -v $GITHUB_WORKSPACE/Build-OMS-Agent-for-Linux:/home/scratch/Build-OMS narinem/oms-centos6-x64:3.2 /bin/sh -c "cd /home/scratch/Build-OMS/omsagent/build; ./configure --enable-ulinux; make unittest_100" | |
- name: Build | |
run: docker run --rm -t -v $GITHUB_WORKSPACE/Build-OMS-Agent-for-Linux:/home/scratch/Build-OMS narinem/oms-centos6-x64:3.2 /bin/sh -c "cd /home/scratch/Build-OMS/omsagent/build; make distclean; ./configure --enable-ulinux; make" | |
- name: Publish Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Build_x64 | |
path: ${{ github.workspace }}/Build-OMS-Agent-for-Linux/omsagent/target/Linux_ULINUX_1.0_x64_64_Release |