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

Add ci-windows-artifacts #1923

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Conversation

y-guyon
Copy link
Collaborator

@y-guyon y-guyon commented Jan 10, 2024

No description provided.

@y-guyon y-guyon requested a review from vrabaud January 10, 2024 14:03
@y-guyon y-guyon merged commit 8aa8a60 into AOMediaCodec:main Jan 10, 2024
17 of 20 checks passed
@y-guyon y-guyon deleted the ci_windows_artifacts branch January 10, 2024 14:05
@y-guyon
Copy link
Collaborator Author

y-guyon commented Jan 10, 2024

See https://docs.github.com/en/actions/managing-workflow-runs/downloading-workflow-artifacts for downloading avifenc.exe and avifdec.exe. However it is restricted to logged in users (see actions/upload-artifact#51).

- name: Build libyuv
if: steps.cache-ext.outputs.cache-hit != 'true'
working-directory: ./ext
run: ./libyuv.cmd
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding this CI workflow.

We should use clang-cl to build libyuv. The assembly code in libyuv is written in the GCC inline assembly format. Visual C++ doesn't support GCC inline assembly.

In appveyor.yml this is done as follows:

 - set "CC=clang-cl" && set "CXX=clang-cl"
 - libyuv.cmd
 - set "CC=" && set "CXX="

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering why these lines were there. Thanks for the explanation.

Done in #1930.

y-guyon added a commit to y-guyon/libavif that referenced this pull request Jan 24, 2024
y-guyon added a commit to y-guyon/libavif that referenced this pull request Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants