34 lines
795 B
YAML
34 lines
795 B
YAML
name: Build XMRig Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
xmrig-linux-static-x64-test:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: alpine:latest
|
|
|
|
steps:
|
|
- name: Patch Alpine container into actions runner environment
|
|
if: runner.os == 'Linux'
|
|
run: |
|
|
apk add nodejs
|
|
sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
|
|
cd /host/home/runner/runners/*/externals/
|
|
rm -rf node20/*
|
|
mkdir node20/bin
|
|
ln -s /usr/bin/node node20/bin/node
|
|
shell: sh # No bash in Alpine by default
|
|
|
|
- run: |
|
|
touch testfile
|
|
|
|
- name: Archive artifacts
|
|
uses: christopherhx/gitea-upload-artifact@v4
|
|
with:
|
|
name: xmrig-linux-static-x64
|
|
path: testfile
|