Skip to content

Commit 76e5096

Browse files
committed
rollback 9.2.x
1 parent 7f5945c commit 76e5096

2 files changed

Lines changed: 74 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
on:
66
push:
77
tags:
8-
- "*"
8+
- 9.2.**
99
jobs:
1010
run-ci-tests-stream-8:
1111
runs-on: ubuntu-latest

.github/workflows/pr.yaml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: infinispan-netcore-tests
2+
env:
3+
ISPN_VER: "14.0.6.Final"
4+
CLIENT_VERSION: ${{ github.event.release.tag_name }}
5+
on:
6+
pull_request:
7+
branches: 9.2.x
8+
jobs:
9+
run-ci-tests-stream-8:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Inject slug/short variables
14+
uses: rlespinasse/github-slug-action@v4
15+
- run: echo $GITHUB_BASE_REF
16+
- run: mkdir build && chmod a+rwx . documentation build
17+
- run: podman build -t quay.io/rigazilla/ci-build-centos-8:latest -f ci-build/centos-stream8.Dockerfile .
18+
- run: podman run -v `pwd`:/home/jboss/cpp-client quay.io/rigazilla/ci-build-centos-8:latest /bin/bash -c "cd cpp-client && INFINISPAN_VERSION=14.0.4.Final CLIENT_VERSION=$GITHUB_BASE_REF.$GITHUB_REF_SLUG PLATFORM_TAG=el8 ./build.sh"
19+
run-ci-tests-stream-9:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Inject slug/short variables
24+
uses: rlespinasse/github-slug-action@v4
25+
- run: echo $GITHUB_REF_NAME
26+
- run: mkdir build && chmod a+rwx . documentation build
27+
- run: podman build -t quay.io/rigazilla/ci-build-centos-9:latest -f ci-build/centos-stream9.Dockerfile .
28+
- run: podman run -v `pwd`:/home/jboss/cpp-client quay.io/rigazilla/ci-build-centos-9:latest /bin/bash -c "cd cpp-client && INFINISPAN_VERSION=14.0.4.Final CLIENT_VERSION=$GITHUB_BASE_REF.$GITHUB_REF_SLUG PLATFORM_TAG=el9 ./build.sh"
29+
run-ci-tests-win:
30+
runs-on: windows-latest
31+
steps:
32+
- uses: actions/checkout@v2
33+
- name: Inject slug/short variables
34+
uses: rlespinasse/github-slug-action@v4
35+
- run: echo $GITHUB_REF_NAME
36+
- name: Add msbuild to PATH
37+
uses: microsoft/setup-msbuild@v1.1
38+
- name: Build Protobuf
39+
shell: cmd
40+
run: |
41+
cd ${{ github.workspace }}
42+
git clone -b v3.7.1 https://github.com/protocolbuffers/protobuf.git
43+
mkdir libs
44+
cd protobuf
45+
mkdir build && cd build
46+
cmake -G "Visual Studio 17 2022" -Dprotobuf_MSVC_STATIC_RUNTIME=OFF -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}\libs -Dprotobuf_BUILD_TESTS=OFF ${{ github.workspace }}\protobuf\cmake
47+
cmake --build . --config RelWithDebInfo --target install
48+
- name: Set up JDK 11
49+
uses: actions/setup-java@v1
50+
with:
51+
java-version: 11
52+
- uses: actions/setup-python@v4
53+
with:
54+
python-version: "3.x" # Version range or exact version of a Python version to use, using SemVer's version range syntax
55+
architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified
56+
- shell: cmd
57+
run: |
58+
echo '::echo::on'
59+
where swig
60+
where mvn
61+
where java
62+
dir C:\ProgramData\Chocolatey\tools
63+
set generator="Visual Studio 17 2022"
64+
set SWIG_DIR=C:\ProgramData\Chocolatey\bin
65+
set SWIG_EXECUTABLE=C:\ProgramData\Chocolatey\bin\swig.exe
66+
set MVN_PROGRAM=C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.6\bin\mvn
67+
set PROTOBUF_LIBRARY=${{ github.workspace }}\libs\lib\libprotobuf.lib
68+
set PROTOBUF_PROTOC_EXECUTABLE=${{ github.workspace }}\libs\bin\protoc.exe
69+
set PROTOBUF_PROTOC_LIBRARY=${{ github.workspace }}\libs\lib\libprotoc.lib
70+
set PROTOBUF_INCLUDE_DIR=${{ github.workspace }}\libs\include
71+
set INFINISPAN_VERSION=14.0.6.Final
72+
set CLIENT_VERSION=%GITHUB_REF_NAME%
73+
build.bat

0 commit comments

Comments
 (0)