Skip to content

Commit

Permalink
guix for Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
justanwar authored Jun 26, 2024
1 parent bcaacd4 commit b69b5b2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/guix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build with guix (manual trigger)

on: workflow_dispatch

jobs:
build:
name: "build"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install required packages
run: |
sudo apt install guix
sudo apt install cmake
- name: Download macOSO Xcode
run: |
mkdir depends/SDKs
wget https://bitcoincore.org/depends-sources/sdks/Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
tar -xaf Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz -C depends/SDKs/
- name: Build with guix
run: |
HOSTS=x86_64-linux-gnu ./contrib/guix/guix-build

0 comments on commit b69b5b2

Please sign in to comment.