.github/workflows: prepare container for xbps-cycles
This commit is contained in:
parent
4eb9566121
commit
399a844150
1 changed files with 18 additions and 1 deletions
19
.github/workflows/cron.yml
vendored
19
.github/workflows/cron.yml
vendored
|
@ -15,6 +15,23 @@ jobs:
|
||||||
process-only: 'prs'
|
process-only: 'prs'
|
||||||
cycles:
|
cycles:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: 'ghcr.io/void-linux/xbps-src-masterdir:20210313rc01-x86_64-musl'
|
||||||
steps:
|
steps:
|
||||||
- run: apt-get install -y python3-networkx
|
- name: Prepare container
|
||||||
|
run: |
|
||||||
|
# Sync and upgrade once, assume error comes from xbps update
|
||||||
|
xbps-install -Syu || xbps-install -yu xbps
|
||||||
|
# Upgrade again (in case there was a xbps update)
|
||||||
|
xbps-install -yu
|
||||||
|
# Install script dependencies
|
||||||
|
xbps-install -y python3-networkx
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
- name: Create hostrepo and prepare masterdir
|
||||||
|
run: |
|
||||||
|
ln -s "$(pwd)" /hostrepo &&
|
||||||
|
common/travis/set_mirror.sh &&
|
||||||
|
common/travis/prepare.sh
|
||||||
- run: common/scripts/xbps-cycles.py
|
- run: common/scripts/xbps-cycles.py
|
||||||
|
|
Loading…
Reference in a new issue