mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-31 12:13:10 +00:00
Newer nixpkgs should have Android SDK for aarch64. Signed-off-by: Jakub Sokołowski <jakub@status.im>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
name: ci / nix
|
|
permissions:
|
|
contents: read
|
|
pull-requests: read
|
|
checks: write
|
|
on:
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
system:
|
|
- aarch64-darwin
|
|
- x86_64-linux
|
|
nixpkg:
|
|
- libwaku
|
|
- libwaku-android-arm64
|
|
- wakucanary
|
|
|
|
exclude:
|
|
# Android SDK limitation
|
|
- system: aarch64-darwin
|
|
nixpkg: libwaku-android-arm64
|
|
|
|
include:
|
|
- system: aarch64-darwin
|
|
runs_on: [self-hosted, macOS, ARM64]
|
|
|
|
- system: x86_64-linux
|
|
runs_on: [self-hosted, Linux, X64]
|
|
|
|
name: '${{ matrix.system }} / ${{ matrix.nixpkg }}'
|
|
runs-on: ${{ matrix.runs_on }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: 'Run Nix build for {{ matrix.nixpkg }}'
|
|
shell: bash
|
|
run: nix build -L '.?submodules=1#${{ matrix.nixpkg }}'
|
|
|
|
- name: 'Show result contents'
|
|
shell: bash
|
|
run: find result -type f
|