guix-builder/.gitea/workflows/main.yaml

29 lines
1009 B
YAML

name: Guix Builder
run-name: ${{ gitea.actor }} - ${{ gitea.event.head_commit.message }}
on: [push]
jobs:
Build:
runs-on: guix
steps:
- name: Debug
run: |
env
echo ---
ls -l /etc/
echo ---
ls -l /etc/ssl
echo ---
ls -l /etc/ssl/certs/ca-certificates.crt
echo ---
head /etc/ssl/certs/ca-certificates.crt
echo ---
git --version
GIT_CURL_VERBOSE=1 GIT_TRACE=1 SSL_CERT_DIR=/guix-builder/etc/ssl/certs SSL_CERT_FILE=/guix-builder/etc/ssl/certs/ca-certificates.crt git clone https://git.home.rekahsoft.ca/${{ gitea.repository }}
- name: Check out repository code
uses: https://github.com/actions/checkout@v3
- name: Build preparation
run: guix time-machine -C channels.scm -- shell -m manifest-dev.scm -- make pre-build
# - name: Build docker image
# run: guix time-machine -C channels.scm -- shell -m manifest-dev.scm -- make