b00719f2f9
release.yml got a fetch-nip44 step alongside fetch-nym (ae4306f), but the
push-triggered build.yml (Linux/Windows/MacOS Build) never did, so every
push has been failing cargo build with "failed to get nip44 as a
dependency ... No such file or directory" once nip44 became a path dep.
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
name: Build
|
|
on: [push, pull_request]
|
|
|
|
# aws-lc-sys (pulled in by nym-sdk) builds AWS-LC, which needs NASM on native
|
|
# Windows. Use the prebuilt NASM objects the crate ships so the runner doesn't
|
|
# need NASM installed; harmless on Linux/macOS.
|
|
env:
|
|
AWS_LC_SYS_PREBUILT_NASM: 1
|
|
|
|
jobs:
|
|
linux:
|
|
name: Linux Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: recursive
|
|
# nym-sdk is a path dep on ../nym; materialize it before building.
|
|
- uses: ./.github/actions/fetch-nym
|
|
# nip44 is a path dep on ../nip44; materialize it before building.
|
|
- uses: ./.github/actions/fetch-nip44
|
|
- name: Release build
|
|
run: cargo build --release
|
|
|
|
windows:
|
|
name: Windows Build
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: recursive
|
|
- uses: ./.github/actions/fetch-nym
|
|
- uses: ./.github/actions/fetch-nip44
|
|
- name: Release build
|
|
run: cargo build --release
|
|
|
|
macos:
|
|
name: MacOS Build
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: recursive
|
|
- uses: ./.github/actions/fetch-nym
|
|
- uses: ./.github/actions/fetch-nip44
|
|
- name: Release build
|
|
run: cargo build --release
|