From 5f0d9cbc3e94c35729a8caa202b32e980de55503 Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 22:26:17 +0100 Subject: [PATCH 01/13] Create actions.yml --- .github/test/actions.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/test/actions.yml diff --git a/.github/test/actions.yml b/.github/test/actions.yml new file mode 100644 index 0000000..1247fb0 --- /dev/null +++ b/.github/test/actions.yml @@ -0,0 +1,19 @@ +name: C/C++ CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: configure + run: ./configure + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck From e74bfff12c8f20f98315b076418e685dddfaffbf Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 22:26:52 +0100 Subject: [PATCH 02/13] Create ccpp.yml --- .github/workflows/ccpp.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ccpp.yml diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 0000000..1247fb0 --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,19 @@ +name: C/C++ CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: configure + run: ./configure + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck From 834a961d857dacb9167dd4b0dd7e2abeb0a231b8 Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 22:27:08 +0100 Subject: [PATCH 03/13] Delete actions.yml --- .github/test/actions.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .github/test/actions.yml diff --git a/.github/test/actions.yml b/.github/test/actions.yml deleted file mode 100644 index 1247fb0..0000000 --- a/.github/test/actions.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: C/C++ CI - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: configure - run: ./configure - - name: make - run: make - - name: make check - run: make check - - name: make distcheck - run: make distcheck From c6ba96fb770da740daceffddbbe03ea99c525231 Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 22:28:55 +0100 Subject: [PATCH 04/13] Update ccpp.yml --- .github/workflows/ccpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 1247fb0..4364362 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: configure - run: ./configure + run: chmod +x ./configure && ./configure - name: make run: make - name: make check From a6c2f8d736865abf2b65bf536508df839f3377fe Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 22:35:05 +0100 Subject: [PATCH 05/13] Update ccpp.yml --- .github/workflows/ccpp.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 4364362..1fa1f68 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -9,6 +9,8 @@ jobs: steps: - uses: actions/checkout@v1 + - name: autogen + run: aclocal && autoheader && automake --foreign --add-missing --force-missing --copy && autoconf - name: configure run: chmod +x ./configure && ./configure - name: make From d5bb99268f7477acefaa6d7cde5b062c660add63 Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 22:38:55 +0100 Subject: [PATCH 06/13] Update ccpp.yml --- .github/workflows/ccpp.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 1fa1f68..023fdeb 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -11,6 +11,8 @@ jobs: - uses: actions/checkout@v1 - name: autogen run: aclocal && autoheader && automake --foreign --add-missing --force-missing --copy && autoconf + - name: install libcurl-dev + run: apt-get install libcurl-dev - name: configure run: chmod +x ./configure && ./configure - name: make From c209444c2c497e2e08fbec6d7613f392e2d5232b Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 22:52:19 +0100 Subject: [PATCH 07/13] Update ccpp.yml --- .github/workflows/ccpp.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 023fdeb..e74d7e4 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -11,8 +11,10 @@ jobs: - uses: actions/checkout@v1 - name: autogen run: aclocal && autoheader && automake --foreign --add-missing --force-missing --copy && autoconf - - name: install libcurl-dev - run: apt-get install libcurl-dev + - name: Get libcurl-dev package + uses: mstksg/get-package@v1 + with: + apt-get: libcurl-dev - name: configure run: chmod +x ./configure && ./configure - name: make From 66d8c0c161ed1c9198b2592ae27eadc67b553a5a Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 22:54:19 +0100 Subject: [PATCH 08/13] Update ccpp.yml --- .github/workflows/ccpp.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index e74d7e4..fd5b361 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -12,9 +12,7 @@ jobs: - name: autogen run: aclocal && autoheader && automake --foreign --add-missing --force-missing --copy && autoconf - name: Get libcurl-dev package - uses: mstksg/get-package@v1 - with: - apt-get: libcurl-dev + run: sudo apt-get install libcurl4-openssl-dev - name: configure run: chmod +x ./configure && ./configure - name: make From 6a8388e0f320c3d80ad6a93423298ef57d7b9d3a Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 22:58:59 +0100 Subject: [PATCH 09/13] Update ccpp.yml --- .github/workflows/ccpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index fd5b361..d510345 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v1 - - name: autogen - run: aclocal && autoheader && automake --foreign --add-missing --force-missing --copy && autoconf - name: Get libcurl-dev package run: sudo apt-get install libcurl4-openssl-dev + - name: Set-up autoconf + run: aclocal && autoheader && automake --foreign --add-missing --force-missing --copy && autoconf - name: configure run: chmod +x ./configure && ./configure - name: make From 36ca6a251ff102245e9fd95b3a39069a3ac4c767 Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 23:15:46 +0100 Subject: [PATCH 10/13] Update ccpp.yml --- .github/workflows/ccpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index d510345..fab8e3e 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -14,7 +14,7 @@ jobs: - name: Set-up autoconf run: aclocal && autoheader && automake --foreign --add-missing --force-missing --copy && autoconf - name: configure - run: chmod +x ./configure && ./configure + run: chmod +x ./configure && ./configure --with-curl - name: make run: make - name: make check From 1326c4c5ba8e50a3e9d4429a01fd7995c2154a7d Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 23:20:24 +0100 Subject: [PATCH 11/13] Update ccpp.yml --- .github/workflows/ccpp.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index fab8e3e..a68e7bf 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -14,10 +14,10 @@ jobs: - name: Set-up autoconf run: aclocal && autoheader && automake --foreign --add-missing --force-missing --copy && autoconf - name: configure - run: chmod +x ./configure && ./configure --with-curl + run: chmod +x ./configure && ./configure --with-crypto --with-curl - name: make run: make - name: make check run: make check - - name: make distcheck - run: make distcheck + - name: CPU test + run: ./cpuminer --cputest From 85f183f6bcbedb7c0f4add4bdfaf862b2b7b893e Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 23:25:45 +0100 Subject: [PATCH 12/13] Update and rename ccpp.yml to build.yml --- .github/workflows/{ccpp.yml => build.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{ccpp.yml => build.yml} (81%) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/build.yml similarity index 81% rename from .github/workflows/ccpp.yml rename to .github/workflows/build.yml index a68e7bf..4e76b10 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: - name: Get libcurl-dev package run: sudo apt-get install libcurl4-openssl-dev - name: Set-up autoconf - run: aclocal && autoheader && automake --foreign --add-missing --force-missing --copy && autoconf + run: ./autogen.sh - name: configure run: chmod +x ./configure && ./configure --with-crypto --with-curl - name: make From c381f267ddb60df19c4451d3251af462f9e5a531 Mon Sep 17 00:00:00 2001 From: Mark Stopka Date: Thu, 21 Nov 2019 23:27:02 +0100 Subject: [PATCH 13/13] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e76b10..bc605fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: C/C++ CI +name: Build CPU miner on: [push] @@ -12,7 +12,7 @@ jobs: - name: Get libcurl-dev package run: sudo apt-get install libcurl4-openssl-dev - name: Set-up autoconf - run: ./autogen.sh + run: chmod +x ./autogen.sh && ./autogen.sh - name: configure run: chmod +x ./configure && ./configure --with-crypto --with-curl - name: make