Skip to content

Commit

Permalink
Bundle coresd on linux and mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Oct 12, 2024
1 parent 61e4db2 commit 82946f0
Show file tree
Hide file tree
Showing 6 changed files with 183 additions and 52 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/alpha-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

- name: Sign service executable
run: |
trusted-signing-cli platforms/windows/service/bin/exe/CoresService.exe -e 'https://wus2.codesigning.azure.net' -a mnr -c Profile3
trusted-signing-cli platforms/windows/service/bin/exe/CoresService.exe -e 'https://wus2.codesigning.azure.net' -a mnr -c Profile3
# Build service installer
- name: Build service installer
Expand All @@ -80,5 +80,5 @@ jobs:
- name: Upload service installer
uses: actions/upload-artifact@v4
with:
name: "cores-service-latest-windows-x64-installer"
name: "cores-windows-x64"
path: "target/release"
7 changes: 5 additions & 2 deletions .github/workflows/unix-alpha-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
if: matrix.NAME == 'macos'
run: cd platforms/unix/daemon && cargo build --release

- name: Rename service executable
run: cp coresd coresd-$(rustc -Vv | grep host | cut -f2 -d' ')

- name: Install node modules
run: npm ci

Expand Down Expand Up @@ -64,13 +67,13 @@ jobs:
- name: Upload service installer
uses: actions/upload-artifact@v4
with:
name: "cores-service-${{matrix.NAME}}-x64-installer"
name: "cores-${{matrix.NAME}}-${{runner.arch}}"
path: "target/release"

# Upload the unpackaged app
- name: Upload service installer
if: matrix.NAME == 'linux'
uses: actions/upload-artifact@v4
with:
name: "cores-service-${{matrix.NAME}}-arm64-service"
name: "coresd-${{matrix.NAME}}-arm64"
path: "target/aarch64-unknown-linux-gnu/release"
Loading

0 comments on commit 82946f0

Please sign in to comment.