Skip to content

Commit ff234eb

Browse files
Test OpenSSL works on Linux CI
See issue GerryFerdinandus#39 In any case, check if it works on the build server.
1 parent 25d88b5 commit ff234eb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/cicd.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Install Lazarus IDE
4343
run: |
4444
if [ "$RUNNER_OS" == "Linux" ]; then
45-
sudo apt install -y lazarus zip
45+
sudo apt install -y lazarus zip xvfb
4646
elif [ "$RUNNER_OS" == "Windows" ]; then
4747
choco install lazarus zip
4848
# https://wiki.overbyte.eu/wiki/index.php/ICS_Download#Download_OpenSSL_Binaries
@@ -61,7 +61,8 @@ jobs:
6161
run: ${{ matrix.LAZBUILD_WITH_PATH }} --build-mode=Release ${{ matrix.LAZ_OPT }} source/project/tracker_editor/trackereditor.lpi
6262
shell: bash
6363

64-
- name: Build Unit Test
64+
- name: Build Unit Test on Windows
65+
if: matrix.os == 'windows-latest'
6566
# Build unit test project (Debug mode)
6667
run: ${{ matrix.LAZBUILD_WITH_PATH }} --build-mode=Debug ${{ matrix.LAZ_OPT }} source/project/unit_test/tracker_editor_test.lpi
6768
shell: bash
@@ -82,6 +83,10 @@ jobs:
8283
git reset --hard
8384
shell: bash
8485

86+
- name: Test OpenSSL works on Linux CI
87+
if: matrix.os == 'ubuntu-latest'
88+
run: xvfb-run --auto-servernum enduser/trackereditor -TEST_SSL
89+
8590
- name: Create a zip file for Linux release.
8691
if: matrix.os == 'ubuntu-latest'
8792
run: zip -j ${{ matrix.RELEASE_ZIP_FILE }} enduser/*.txt enduser/trackereditor

0 commit comments

Comments
 (0)