59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
name: Gentoo Utils
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
'*'
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
gentoo-utils:
|
|
runs-on: brutalisk
|
|
container:
|
|
image: gentoo/stage3:latest
|
|
continue-on-error: false
|
|
steps:
|
|
- name: emerge-webrsync
|
|
run: |
|
|
emerge-webrsync
|
|
|
|
- name: emerge git
|
|
run: |
|
|
emerge dev-vcs/git
|
|
|
|
- name: checkout repo
|
|
run: |
|
|
git clone --depth=1 https://git.epenguin.net/gentoo-utils/gentoo-utils-gitea gentoo-utils
|
|
cd gentoo-utils
|
|
git checkout ${{ gitea.sha }}
|
|
|
|
- name: install gentoo config from repo
|
|
working-directory: gentoo-utils
|
|
run: |
|
|
cp -rva .docker/etc/ /
|
|
|
|
- name: checkout spawns overlay
|
|
run: |
|
|
git clone https://jturnerusa.dev/cgit/ebuilds/ /var/db/repos/spawns
|
|
|
|
- name: mkdir for git-r3 eclass
|
|
run: |
|
|
mkdir -p /var/cache/distfiles/git3-src && chown portage:portage /var/cache/distfiles/git3-src
|
|
|
|
- name: emerge packages
|
|
run: |
|
|
emerge =dev-lang/rust-bin-9999 \
|
|
=dev-build/meson-9999 \
|
|
llvm-core/clang \
|
|
llvm-core/lld \
|
|
dev-vcs/git \
|
|
sys-process/parallel \
|
|
net-libs/nodejs
|
|
|
|
- name: run build and tests
|
|
working-directory: gentoo-utils
|
|
run: |
|
|
./check.sh
|
|
|