Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main from develop #34

Merged
merged 59 commits into from
Apr 11, 2024
Merged

Update main from develop #34

merged 59 commits into from
Apr 11, 2024

Conversation

datalogics-aarroyo
Copy link
Contributor

  • Add new QRCode sample

datalogics-saharay and others added 30 commits February 27, 2024 11:13
…ions-workflow

Add initial GitHub Actions workflow file to repo
- The Office conversion API is not implemented on Mac platforms, so
  let's add some logic to prevent building and running the
  ConvertToOffice sample on Mac.
- The XPS conversion API is not implemented on Mac platforms, so
  let's add some logic to prevent building and running the
  CreateDocFromXPS sample on Mac.
- On Windows, running the samples via DLL for the ConvertToOffice, CreateDocFromXPS,
  PDFAConverter, and PDFXConverter sample caused the samples to throw exceptions. This
  is likely due to the APDFL plugins not being in the Windows DLL search path. To get
  around this for CI, let's run the sample exe for samples that are run on Windows.

- Rename dll_name variable for clarity.
- Here's an SO that specifies how to install MS Core Fonts in a script:
  https://askubuntu.com/a/25614. Let's try out this method to see if it works.
- The Redactions sample throws an exception on the Ubuntu GitHub
  Actions runner. However, when it runs on a CentOS machine, the sample
  does not throw an exception.
- Also, add some debugging code to list files to the workflow file.
- Also, remove the debugging statements.
- The upload-artifact action supposedly supports relative paths, but
  it threw an error when relative paths were used. There also seems to
  be a few open bugs reported on GitHub, here's one: actions/upload-artifact#176.

- Since some of the samples dump their output in the parent directory, let's
  try a workaround to see if we can archive them in the workflow run.
- The workaround that was attempted to access the parent directory
  where some samples were putting their output didn't work because
  the upload-artifact action tries to find the common ancestor and searches
  there. Therefore, it didn't end up finding the output files. Let's remove
  the attempted workaround.

- Let's just modify the samples to place their output in the current working
  directory, which is the same as the rest of the samples.
- Let's make the workflow a bit more readable.

- Let's make sure we run the new AddQRCode sample in CI.
@datalogics-aarroyo datalogics-aarroyo added the merge at public release Should be merged when PDFL is released label Mar 18, 2024
@datalogics-robl datalogics-robl self-assigned this Mar 18, 2024
datalogics-aarroyo and others added 5 commits March 20, 2024 08:56
…NET-samples

APDFL-5452: Add CI for samples
Fix sample warnings seen during workflow build.
Because Spot Colorants may only be part of Annotation appearances, to do a proper DeviceN rendering of all colorants this needs to be set.
Otherwise we collect all the spot colorants including those of Annotation appearances and setup our DeviceN rendering with it....but
at the same time we tell PDFL with our render flags "don't consider them", leading to scrambled output.
@datalogics-robl datalogics-robl merged commit 2c1b561 into main Apr 11, 2024
330 of 486 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge at public release Should be merged when PDFL is released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants