Skip to content

Commit

Permalink
chore: cache verifier builds, debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vgskye committed Oct 20, 2024
1 parent 8ec1a4f commit 046976a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
cache-dependency-path: verifier/go.sum
- name: Build Verifier
run: |
pushd verifier
Expand Down Expand Up @@ -95,3 +97,33 @@ jobs:
with:
name: windows-packages
path: src-tauri/target/release/*.exe
- name: Compile software (debug)
run: pnpm tauri build --ci --debug
env:
SCCACHE_GHA_ENABLED: 'true'
RUSTC_WRAPPER: 'sccache'
- name: Upload the Linux packages (AppImage, debug)
uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-20.04'
with:
name: linux-packages-debug
path: src-tauri/target/debug/bundle/appimage/*.AppImage
- name: Upload the Linux packages (ELF, debug)
uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-20.04'
with:
name: linux-packages-raw-debug
# TODO: a better way to find just the binary
path: src-tauri/target/debug/fabulously-optimized-installer
- name: Upload the macOS packages (debug)
uses: actions/upload-artifact@v4
if: matrix.platform == 'macos-13'
with:
name: macos-packages-debug
path: src-tauri/target/debug/bundle/dmg/*.dmg
- name: Upload the Windows packages
uses: actions/upload-artifact@v4
if: matrix.platform == 'windows-2022'
with:
name: windows-packages-debug
path: src-tauri/target/debug/*.exe

0 comments on commit 046976a

Please sign in to comment.