Skip to content

Commit 8001c5a

Browse files
committed
ci: enable test builds for UE 4.27, 5.2
After testing that the goldenmaster is actually correct, we use docker container to build the software against different UE versions.
1 parent 8a3a6bb commit 8001c5a

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

.github/workflows/ci_generate.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
- '!docs/**'
1111

1212
env:
13-
GITHUB_AUTH_TOKEN: ${{ secrets.WOLFGANG_REPO_PACKAGE_READ }}
1413
GOPRIVATE: "github.com/apigear-io/*"
1514
GH_ACCESS_TOKEN: ${{ secrets.APIGEAR_REPOS }}
1615
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -41,3 +40,29 @@ jobs:
4140
- name: Install clang-format-12
4241
run: sudo apt-get install --no-install-recommends -y clang-format-12 && sudo mv /usr/bin/clang-format-12 /usr/bin/clang-format
4342
- run: go run main.go testStyle
43+
44+
test-compile:
45+
runs-on: ubuntu-latest
46+
needs: generate
47+
strategy:
48+
matrix:
49+
UE_VERSION:
50+
- dev-slim-4.27
51+
- dev-slim-5.2.1
52+
container:
53+
image: ghcr.io/epicgames/unreal-engine:${{ matrix.UE_VERSION }}
54+
credentials:
55+
username: ${{ github.actor }}
56+
password: ${{ secrets.APIGEAR_REPOS }}
57+
volumes:
58+
- ${{ github.workspace }}:/project
59+
steps:
60+
- name: Checkout
61+
uses: actions/checkout@v4
62+
- name: test
63+
run: |
64+
pwd
65+
ls -la
66+
- name: build plugins
67+
run: |
68+
sh buildPlugins.sh

0 commit comments

Comments
 (0)