Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 22 additions & 13 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest

steps:
- name: Checkout BLIS
Expand Down Expand Up @@ -61,25 +61,34 @@ jobs:

- name: Prepare Artifact Folders
run: |
mkdir BLIS-Standalone
mkdir -p BLIS-Standalone

# Copy BLISRuntime (excluding .git)
Copy-Item "./BLISRuntime/*" -Destination "./BLIS-Standalone/" -Recurse -Exclude ".git"
cp -r BLISRuntime/. BLIS-Standalone/ && rm -rf BLIS-Standalone/.git

# Copy BLIS (excluding .git and the legacy EXEs)
Copy-Item "./BLIS/*" -Destination "./BLIS-Standalone/" -Recurse -Exclude ".git"
Remove-Item "./BLIS-Standalone/BLIS.exe" -ErrorAction SilentlyContinue
Remove-Item "./BLIS-Standalone/BLIS.exe.manifest" -ErrorAction SilentlyContinue
cp -r BLIS/. BLIS-Standalone/ && rm -rf BLIS-Standalone/.git
rm -f BLIS-Standalone/BLIS.exe BLIS-Standalone/BLIS.exe.manifest

# Copy BLIS-NG executable
Copy-Item "./BLIS-NG/bin/Release/net10.0/win-x64/publish/BLIS-NG.exe" -Destination "./BLIS-Standalone/"
cp BLIS-NG/bin/Release/net10.0/win-x64/publish/BLIS-NG.exe BLIS-Standalone/
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.

Suggested change
cp BLIS-NG/bin/Release/net10.0/win-x64/publish/BLIS-NG.exe BLIS-Standalone/
cp BLIS-NG/bin/Release/net10.0/win-x64/publish/BLIS-NG.exe BLIS-Standalone/BLIS.exe

Might as well call the new executable BLIS.exe as well.


- name: Create Zip Archive
run: |
Compress-Archive -Path "BLIS-Standalone/*" -DestinationPath BLIS-Standalone.zip
mkdir -p BLIS-Upgrade

# Copy BLIS (excluding .git and local/ runtime data)
cp -r BLIS/. BLIS-Upgrade/ && rm -rf BLIS-Upgrade/.git BLIS-Upgrade/local

# Copy BLISRuntime server component
cp -r BLISRuntime/server BLIS-Upgrade/server

- name: Upload Artifact
uses: actions/upload-artifact@v7
- name: Upload Standalone Artifact
uses: actions/upload-artifact@v4
with:
name: BLIS-Standalone
path: BLIS-Standalone.zip
path: BLIS-Standalone/

- name: Upload Upgrade Artifact
uses: actions/upload-artifact@v4
with:
name: BLIS-Upgrade
path: BLIS-Upgrade/
Loading