Skip to content

Commit

Permalink
ci: Build and cache packages for macOS via GitHub Actions
Browse files Browse the repository at this point in the history
After spending a massive amount of time making RetroArch build on macOS
(github:NixOS/nixpkgs#102230), I've decided to make sure my packages
have the right platforms on their `meta.platforms` and `meta.broken`.

Looks like builds.sr.ht has FreeBSD images.  Might try to build for that
later.
  • Loading branch information
AluisioASG committed Nov 4, 2020
1 parent 7cdebde commit f38c2dd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "build-packages"
on:
push:
jobs:
build:
strategy:
matrix:
platform: ["macos-latest"]
channel: ["nixpkgs-unstable"]
runs-on: "${{ matrix.platform }}"
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
with:
nix_path: "nixpkgs=channel:${{ matrix.channel }}"
- uses: cachix/cachix-action@v7
with:
name: "aasg-nixexprs"
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
- run: "nix-build --no-out-link --keep-going --show-trace ./ci.nix"

0 comments on commit f38c2dd

Please sign in to comment.