Github actions compilation failed

How to add this network library in GitHub compilation

Use GitHub Actions steps to download and unpack Indy. The command-line example on our Indy docs may be useful. Basically, you need a step like this in your GitHub Actions workflow:

- name: Download and unpack Indy
  run: |

In effect, your workspace will have Indy units in Indy10 subdirectory (to be sure, just add a debug command, like ls -FlahR as GitHub Actions step).

Now make your CastleEngineManifest.xml refer to units in Indy10/, e.g. by

<?xml version="1.0" encoding="utf-8"?>
<project  ...>
      <path value="Indy10/Core" />
      <path value="Indy10/System" />

Either just commit + push to repo already CastleEngineManifest.xml with paths to Indy10, or use sed to process you CastleEngineManifest.xml within GitHub Actions.

Thank you very much for providing the idea. This is testing the normal code

      - name: Download and unpack Indy
        run: wget
      - name: Unzip File
        run: unzip -d $GITHUB_WORKSPACE/./
1 Like