-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from SecureSECO/aminuldidar-patch-1
Automate testing process
- Loading branch information
Showing
3 changed files
with
61 additions
and
3 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,58 @@ | ||
name: Test SearchSECO Miner | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Initialize submodules | ||
run: git submodule update --init --recursive | ||
|
||
- name: Install srcml | ||
run: | | ||
wget http://131.123.42.38/lmcrs/v1.0.0/srcml_1.0.0-1_ubuntu20.04.deb | ||
sudo dpkg -i srcml_1.0.0-1_ubuntu20.04.deb | ||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build the project | ||
run: npm run build-unix | ||
|
||
# - name: Start the project | ||
# run: npm run start-unix | ||
|
||
- name: Execute SearchSECO-miner check on zlib | ||
env: | ||
MINER_NAME: aminuldidar | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PERSONAL_WALLET_ADDRESS: ${{ secrets.PERSONAL_WALLET_ADDRESS }} | ||
run: npm run execute -- check https://github.com/madler/zlib -V 5 | ||
timeout-minutes: 10 | ||
continue-on-error: true | ||
|
||
- name: Execute SearchSECO-miner check on javacpp | ||
env: | ||
MINER_NAME: aminuldidar | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PERSONAL_WALLET_ADDRESS: ${{ secrets.PERSONAL_WALLET_ADDRESS }} | ||
run: npm run execute -- check https://github.com/bytedeco/javacpp -V 5 | ||
timeout-minutes: 10 | ||
continue-on-error: true |
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 @@ | ||
MINER_NAME=testname | ||
GITHUB_TOKEN=github_pat_11ASW4YNA0Nw8wESFVPhTm | ||
PERSONAL_WALLET_ADDRESS=0xa25c7442cdf95d51a25f |
This file was deleted.
Oops, something went wrong.