nix: add glib for linux #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build and cache | |
on: push | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
# os: [ubuntu-latest, macos-latest, macos-13] | |
package: [launcher] | |
# package: [holochain, lair-keystore, launcher] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Print platform information | |
run: uname -ms | |
- name: Check out source code | |
uses: actions/checkout@v4 | |
- name: Install nix | |
uses: cachix/install-nix-action@v25 | |
with: | |
install_url: https://releases.nixos.org/nix/nix-2.18.0/install | |
- name: Use GitHub cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Build nix package | |
run: nix build -L .#${{ matrix.package }} | |
# - name: Setup tmate session | |
# if: failure() | |
# uses: mxschmitt/action-tmate@v3 |