Skip to content

Download Intel SDE from Github Releases mirror to fix CI#241

Merged
Shnatsel merged 2 commits into
linebender:mainfrom
Shnatsel:fix-sde-ci
Jun 13, 2026
Merged

Download Intel SDE from Github Releases mirror to fix CI#241
Shnatsel merged 2 commits into
linebender:mainfrom
Shnatsel:fix-sde-ci

Conversation

@Shnatsel

Copy link
Copy Markdown
Contributor

The old version is no longer available so switch to this new version.

@Shnatsel

Copy link
Copy Markdown
Contributor Author

Ah, it's not that. I think Intel just always returns a zero-sized file for wget and curl downloads now. We'll need to find a way to store the binary on our CI instead.

…56 to pin the exact file contents so they cannot be changed from under us to mount a supply chain attack.
@Shnatsel Shnatsel changed the title Upgrade Intel SDE version to fix CI Download Intel SDE form Github Releases mirror to fix CI Jun 12, 2026
@Shnatsel

Copy link
Copy Markdown
Contributor Author

Github Actions cache expires too quickly, so I've used Github Releases to store a mirror of Intel SDE.
The CI job now verifies SHA-256 hash of the downloaded file to avoid supply chain attacks.

@Shnatsel Shnatsel changed the title Download Intel SDE form Github Releases mirror to fix CI Download Intel SDE from Github Releases mirror to fix CI Jun 12, 2026
Comment thread .github/workflows/ci.yml
- name: install Intel Software Development Emulator
run: curl "https://downloadmirror.intel.com/873619/${SDE_PKG}.tar.xz" | tar -Jx
run: |
curl -fsSL -o "${SDE_PKG}-lin.tar.xz" "https://github.com/Shnatsel/intel-sde-mirror/releases/download/sde-${SDE_PKG#sde-external-}/${SDE_PKG}-lin.tar.xz"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What does lin stand for?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ah, Linux 😂 nvm

@Shnatsel Shnatsel added this pull request to the merge queue Jun 13, 2026
Merged via the queue into linebender:main with commit d818fe4 Jun 13, 2026
22 checks passed
@Shnatsel Shnatsel deleted the fix-sde-ci branch June 13, 2026 09:36
@DJMcNab

DJMcNab commented Jun 17, 2026

Copy link
Copy Markdown
Member

Is there an easy way for us to validate that the checksum corresponds with a release from Intel? That's relatively low-priority for me, as the CI isn't very privileged (afaik), but it would be best practise.

@Shnatsel

Copy link
Copy Markdown
Contributor Author

There is a .sig file so you could bring in a GPG verifier, store the public key in Github Actions job in base64 or something, and verify the signature.

Shnatsel added a commit to Shnatsel/fearless_simd that referenced this pull request Jun 17, 2026
Shnatsel added a commit to Shnatsel/fearless_simd that referenced this pull request Jun 17, 2026
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