From b69b5b2b3479ca64dbe0f9e0efe1a7bb45d8afb7 Mon Sep 17 00:00:00 2001 From: justanwar <42809091+justanwar@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:06:01 +0800 Subject: [PATCH] guix for Github Actions --- .github/workflows/guix.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/guix.yml diff --git a/.github/workflows/guix.yml b/.github/workflows/guix.yml new file mode 100644 index 0000000000..447dbecbdd --- /dev/null +++ b/.github/workflows/guix.yml @@ -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 \ No newline at end of file