mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-11 09:22:48 -05:00
Fixed CI
This commit is contained in:
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
@@ -108,9 +108,9 @@ jobs:
|
|||||||
path: macos_build_intel.tar.gz
|
path: macos_build_intel.tar.gz
|
||||||
|
|
||||||
build_lin_ub12:
|
build_lin_ub12:
|
||||||
name: Build Ubuntu 13.10 artifacts
|
name: Build Ubuntu 14.10 artifacts
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ubuntu:13.10
|
container: ubuntu:14.10
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare build tools
|
- name: Prepare build tools
|
||||||
run: |
|
run: |
|
||||||
@@ -129,14 +129,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone https://github.com/MoneroOcean/xmrig.git .
|
git clone https://github.com/MoneroOcean/xmrig.git .
|
||||||
git checkout $GITHUB_REF_NAME
|
git checkout $GITHUB_REF_NAME
|
||||||
- name: Build project on Ubuntu 13.10
|
- name: Build project on Ubuntu 14.10
|
||||||
run: |
|
run: |
|
||||||
cd scripts && ./build_deps.sh && cd ..
|
cd scripts && ./build_deps.sh && cd ..
|
||||||
/opt/cmake-3.27.9-linux-x86_64/bin/cmake . -DXMRIG_DEPS=scripts/deps
|
/opt/cmake-3.27.9-linux-x86_64/bin/cmake . -DXMRIG_DEPS=scripts/deps
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
cp src/config.json .
|
cp src/config.json .
|
||||||
tar cfz ubuntu12_build.tar.gz xmrig config.json
|
tar cfz ubuntu12_build.tar.gz xmrig config.json
|
||||||
- name: Upload Ubuntu 13.10 build artifacts
|
- name: Upload Ubuntu 14.10 build artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ubuntu12_build
|
name: ubuntu12_build
|
||||||
@@ -176,7 +176,7 @@ jobs:
|
|||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: macos_build_intel
|
name: macos_build_intel
|
||||||
- name: Download Ubuntu 13.10 build artifacts
|
- name: Download Ubuntu 14.10 build artifacts
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: ubuntu12_build
|
name: ubuntu12_build
|
||||||
@@ -216,7 +216,7 @@ jobs:
|
|||||||
asset_path: macos_build_intel/macos_build_intel.tar.gz
|
asset_path: macos_build_intel/macos_build_intel.tar.gz
|
||||||
asset_name: xmrig-${{steps.version.outputs.VERSION}}-mac-intel.tar.gz
|
asset_name: xmrig-${{steps.version.outputs.VERSION}}-mac-intel.tar.gz
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
- name: Upload Ubuntu 13.10 build release asset
|
- name: Upload Ubuntu 14.10 build release asset
|
||||||
uses: actions/upload-release-asset@v1.0.1
|
uses: actions/upload-release-asset@v1.0.1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user