Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
nimflags-extra: --mm:refc
- target:
os: linux
builder: ['self-hosted','ubuntu-22.04']
builder:
["self-hosted", "ubuntu-22.04", "runner-node-02-linux-01-eu-hel1"]
- target:
os: macos
cpu: amd64
Expand Down Expand Up @@ -79,7 +80,14 @@ jobs:

- name: Clean workspace (very aggressive)
if: contains(matrix.builder, 'self-hosted')
run: rm -rf "$GITHUB_WORKSPACE"/*
run: |
rm -rf "$GITHUB_WORKSPACE"/*
echo "show everything in gh workspace after nuking"
ls -la "${GITHUB_WORKSPACE}"
echo "show everything in CI_CACHE dir"
ls -la "${CI_CACHE}" || true
echo "show everything in XDG_CACHE_HOME"
ls -la "${XDG_CACHE_HOME}" || true

- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -215,15 +223,22 @@ jobs:

devbuild:
name: "Developer builds"
runs-on: ['self-hosted','ubuntu-22.04']
runs-on: ["self-hosted", "ubuntu-22.04", "runner-node-02-linux-01-eu-hel1"]
steps:
- name: Fix nim cache conflicts
run: |
echo "XDG_CACHE_HOME=${{ runner.temp }}/.nim-cache" >> $GITHUB_ENV
echo "CI_CACHE=${{ runner.temp }}/.nbs-cache" >> $GITHUB_ENV

- name: Clean workspace (very aggressive)
run: rm -rf "$GITHUB_WORKSPACE"/*
run: |
rm -rf "$GITHUB_WORKSPACE"/*
echo "show everything in gh workspace after nuking"
ls -la "${GITHUB_WORKSPACE}"
echo "show everything in CI_CACHE dir"
ls -la "${CI_CACHE}" || true
echo "show everything in XDG_CACHE_HOME"
ls -la "${XDG_CACHE_HOME}" || true

- name: Checkout
uses: actions/checkout@v4
Expand Down
Loading