-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
intlect
committed
Jun 18, 2023
0 parents
commit 3a7168f
Showing
122 changed files
with
47,979 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build and Release Workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build verusminer | ||
run: | | ||
sudo apt update | ||
sudo apt install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential git curl wget -y | ||
./build.sh | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} | ||
with: | ||
tag_name: release-${{ github.sha }} | ||
release_name: Release ${{ github.sha }} | ||
draft: false | ||
prerelease: false | ||
|
||
- name: Upload Release Asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./ccminer | ||
asset_name: Verusminer | ||
asset_content_type: application/octet-stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
|
||
ccminer | ||
*.o | ||
|
||
autom4te.cache | ||
.deps | ||
|
||
Makefile | ||
Makefile.in | ||
INSTALL | ||
aclocal.m4 | ||
configure | ||
configure.lineno | ||
depcomp | ||
missing | ||
install-sh | ||
stamp-h1 | ||
ccminer-config.h* | ||
compile | ||
config.log | ||
config.status | ||
config.status.lineno | ||
config.guess | ||
config.sub | ||
|
||
mingw32-config.cache | ||
|
||
.dirstamp | ||
.DS_Store | ||
Desktop.ini | ||
Thumbs.db | ||
|
||
*.iml | ||
|
||
Debug/ | ||
Release/ | ||
x64/Debug/ | ||
x64/Release/ | ||
*.suo | ||
*.user | ||
*.opensdf | ||
*.sdf | ||
*.pdb | ||
*.VC.opendb | ||
*.VC.db | ||
|
||
.settings/ | ||
.project | ||
.metadata | ||
.classpath | ||
.loadpath | ||
.cproject | ||
.buildpath | ||
|
||
compat/curl-for-windows/ | ||
|
||
*.ptx | ||
*.i | ||
*.ii | ||
*.gpu | ||
*.cubin | ||
*.stub.c | ||
*.module_id | ||
*.hash | ||
*.fatbin.c | ||
*.fatbin | ||
*.cudafe1.cpp | ||
*.cudafe1.c | ||
*.cudafe2.c | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# allow to use Host cuda functions in C/C++ | ||
#DEF_INCLUDES = @CUDA_INCLUDES@ | ||
|
||
if WANT_JANSSON | ||
JANSSON_INCLUDES= -I$(top_srcdir)/compat/jansson | ||
else | ||
JANSSON_INCLUDES= | ||
endif | ||
|
||
EXTRA_DIST = autogen.sh README.md README.txt LICENSE.txt \ | ||
ccminer.sln ccminer.vcxproj ccminer.vcxproj.filters \ | ||
compat/gettimeofday.c compat/getopt/getopt_long.c | ||
|
||
SUBDIRS = compat | ||
|
||
bin_PROGRAMS = ccminer | ||
|
||
ccminer_SOURCES = elist.h miner.h compat.h \ | ||
compat/inttypes.h compat/stdbool.h compat/unistd.h bignum.cpp bignum.hpp \ | ||
compat/sys/time.h compat/getopt/getopt.h \ | ||
crc32.c \ | ||
ccminer.cpp pools.cpp util.cpp bench.cpp \ | ||
api.cpp hashlog.cpp stats.cpp sysinfos.cpp \ | ||
equi/equi-stratum.cpp verus/verusscan.cpp \ | ||
verus/haraka.c verus/verus_clhash.cpp | ||
|
||
|
||
|
||
if HAVE_WINDOWS | ||
ccminer_SOURCES += compat/winansi.c | ||
endif | ||
|
||
ccminer_LDFLAGS = $(PTHREAD_FLAGS) | ||
|
||
ccminer_LDADD = -lcurl @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@ @OPENMP_CFLAGS@ @LIBS@ | ||
ccminer_CPPFLAGS = @OPENMP_CFLAGS@ $(CPPFLAGS) $(PTHREAD_FLAGS) -march=native -fno-strict-aliasing $(JANSSON_INCLUDES) $(DEF_INCLUDES) -O3 | ||
|
||
|
||
if HAVE_OSX | ||
ccminer_CXXFLAGS = -std=c++11 | ||
ccminer_CPPFLAGS += -I/usr/local/llvm/lib/clang/4.0.0/include | ||
endif | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Opening repositories: | ||
D:\15 raven\ccminer-8.21\ccminer-8.21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# ccminer | ||
|
||
Based on Christian Buchner's & Christian H.'s CUDA project, no more active on github since 2014. |
Oops, something went wrong.