combine workflows

This commit is contained in:
hinto.janai 2023-04-14 13:51:59 -04:00
parent 34a840cfac
commit 6f636ceaac
No known key found for this signature in database
GPG key ID: D47CE05FA175A499
7 changed files with 14 additions and 98 deletions

View file

@ -1,32 +0,0 @@
name: Linux Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cache
uses: actions/cache@v3.2.3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: linux cargo test
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y libgtk-3-dev
- name: Test
run: cargo test

View file

@ -1,4 +1,4 @@
name: Linux Build name: Linux
on: on:
push: push:
@ -22,7 +22,7 @@ jobs:
~/.cargo/registry ~/.cargo/registry
~/.cargo/git ~/.cargo/git
target target
key: linux cargo build key: linux
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -30,3 +30,5 @@ jobs:
sudo apt install -y libgtk-3-dev sudo apt install -y libgtk-3-dev
- name: Build - name: Build
run: cargo build run: cargo build
- name: Test
run: cargo test

View file

@ -1,28 +0,0 @@
name: macOS Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: macos-latest
steps:
- name: Cache
uses: actions/cache@v3.2.3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: macos cargo test
- uses: actions/checkout@v3
- name: Test
run: cargo test

View file

@ -1,4 +1,4 @@
name: macOS Build name: macOS
on: on:
push: push:
@ -22,7 +22,9 @@ jobs:
~/.cargo/registry ~/.cargo/registry
~/.cargo/git ~/.cargo/git
target target
key: macos cargo build key: macos
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Build - name: Build
run: cargo build run: cargo build
- name: Test
run: cargo test

View file

@ -1,28 +0,0 @@
name: Windows Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- name: Cache
uses: actions/cache@v3.2.3
with:
path: |
~\.cargo\registry
~\.cargo\git
target
key: windows cargo test
- uses: actions/checkout@v3
- name: Test
run: cargo test

View file

@ -1,4 +1,4 @@
name: Windows Build name: Windows
on: on:
push: push:
@ -22,7 +22,9 @@ jobs:
~\.cargo\registry ~\.cargo\registry
~\.cargo\git ~\.cargo\git
target target
key: windows cargo build key: windows
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Build - name: Build
run: cargo build run: cargo build
- name: Test
run: cargo test

View file

@ -1,13 +1,11 @@
<div align="center"> <div align="center">
<img src="images/banner.png" width="66%"/> <img src="images/banner.png" width="50%"/>
Gupax is a GUI for mining [**Monero**](https://github.com/monero-project/monero) on [**P2Pool**](https://github.com/SChernykh/p2pool), using [**XMRig**](https://github.com/xmrig/xmrig). Gupax is a GUI for mining [**Monero**](https://github.com/monero-project/monero) on [**P2Pool**](https://github.com/SChernykh/p2pool), using [**XMRig**](https://github.com/xmrig/xmrig).
**To see a 3-minute video on how to set-up Gupax: [click here.](#How-To)** **To see a 3-minute video on how to set-up Gupax: [click here.](#How-To)**
![windows-build](https://github.com/hinto-janai/gupax/actions/workflows/windows-build.yml/badge.svg) ![macos-build](https://github.com/hinto-janai/gupax/actions/workflows/macos-build.yml/badge.svg) ![linux-build](https://github.com/hinto-janai/gupax/actions/workflows/linux-build.yml/badge.svg) ![windows](https://github.com/hinto-janai/gupax/actions/workflows/windows.yml/badge.svg) ![macos](https://github.com/hinto-janai/gupax/actions/workflows/macos.yml/badge.svg) ![linux](https://github.com/hinto-janai/gupax/actions/workflows/linux.yml/badge.svg)
![windows-test](https://github.com/hinto-janai/gupax/actions/workflows/windows-test.yml/badge.svg) ![macos-test](https://github.com/hinto-janai/gupax/actions/workflows/macos-test.yml/badge.svg) ![linux-test](https://github.com/hinto-janai/gupax/actions/workflows/linux-test.yml/badge.svg)
![daily-ping](https://github.com/hinto-janai/gupax/actions/workflows/ping.yml/badge.svg) ![daily-ping](https://github.com/hinto-janai/gupax/actions/workflows/ping.yml/badge.svg)