Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit d540981

Browse files
authored
Merge pull request #1 from kadena-io/ci-build
Fix GitHub CI build for ubuntu-20.04
2 parents 8596ff7 + 897332a commit d540981

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

.github/workflows/build-application.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on: [push]
55
env:
66
AWS_ACCESS_KEY_ID: ${{ secrets.kadena_cabal_cache_aws_access_key_id }}
77
AWS_SECRET_ACCESS_KEY: ${{ secrets.kadena_cabal_cache_aws_secret_access_key }}
8+
AWS_DEFAULT_REGION: us-east-1
89

910
jobs:
1011
build:
@@ -102,9 +103,12 @@ jobs:
102103
# Publish artifacts to S3
103104
- name: Publish to S3
104105
run: |
106+
aws --version
105107
tar -C ./artifacts/applications/ -czf $BINFILE test-miner
106-
aws s3 cp $BINFILE s3://$ARTIFACT_BUCKET/$ARTIFACT_FOLDER/
107-
aws s3api put-object-acl --bucket $ARTIFACT_BUCKET --key=$ARTIFACT_FOLDER/$BINFILE --acl public-read
108+
echo "aws s3 cp $BINFILE s3://$ARTIFACT_BUCKET/$ARTIFACT_FOLDER/"
109+
aws --debug s3 cp "$BINFILE" "s3://$ARTIFACT_BUCKET/$ARTIFACT_FOLDER/"
110+
echo "aws s3api put-object-acl --bucket $ARTIFACT_BUCKET --key=$ARTIFACT_FOLDER/$BINFILE --acl public-read"
111+
aws s3api put-object-acl --bucket "$ARTIFACT_BUCKET" --key="$ARTIFACT_FOLDER/$BINFILE" --acl public-read
108112
- name: Publish to S3 for master builds
109113
if: env.GIT_REF_SHORT == 'master'
110114
run: |

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Revision history for test-miner
2+
3+
## 0.1 -- 2020-08-20
4+
5+
* First version. Released on an unsuspecting world.

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1-
A test miner for chainweb that simulates POW without actually solving the
2-
target.
1+
A mining client for Kadena Chainweb. It supports
2+
3+
* multi threaded CPU mining,
4+
* external mining workers (e.g. a GPU),
5+
* simulated mining for testing.
6+
7+
Competitive mining on the Kadena Chainweb Mainnet requires special mining
8+
hardware, which usually comes with its own mining client and mining pool
9+
support implementations. This generic mining client is intended mostly for
10+
testing.

test-miner.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 3.0
22
name: test-miner
33
version: 0.1
4-
synopsis: Test Miner
4+
synopsis: Mining Client for Kadena Chainweb
55
homepage: https://github.com/kadena-io/test-miner
66
bug-reports: https://github.com/kadena-io/test-miner/issues
77
license: BSD-3-Clause
@@ -12,8 +12,8 @@ copyright: Copyright (c) 2019 - 2020, Kadena LLC
1212
category: Data, Mathematics
1313
build-type: Custom
1414
tested-with:
15-
GHC==8.10.1
16-
, GHC==8.8.3
15+
GHC==8.10.2
16+
, GHC==8.8.4
1717
extra-source-files:
1818
README.md
1919
CHANGELOG.md

0 commit comments

Comments
 (0)